Преглед на файлове

Even more description of expected vs. actual

Greg Turnquist преди 13 години
родител
ревизия
88b854c646
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      test/run.sh

+ 2
- 1
test/run.sh Целия файл

7
 curl -s http://localhost:8080/greeting > target/actual.json
7
 curl -s http://localhost:8080/greeting > target/actual.json
8
 kill -9 $PID
8
 kill -9 $PID
9
 
9
 
10
-cat target/actual.json
10
+echo "Let's look at the actual results: `cat target/actual.json`"
11
+echo "And compare it to: `cat ../test/expected.json`"
11
 
12
 
12
 if diff -w ../test/expected.json target/actual.json
13
 if diff -w ../test/expected.json target/actual.json
13
 	then
14
 	then