Bläddra i källkod

Even more description of expected vs. actual

Greg Turnquist 13 år sedan
förälder
incheckning
88b854c646
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      test/run.sh

+ 2
- 1
test/run.sh Visa fil

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