Sfoglia il codice sorgente

Even more description of expected vs. actual

Greg Turnquist 13 anni fa
parent
commit
88b854c646
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      test/run.sh

+ 2
- 1
test/run.sh Vedi File

@@ -7,7 +7,8 @@ sleep 3
7 7
 curl -s http://localhost:8080/greeting > target/actual.json
8 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 13
 if diff -w ../test/expected.json target/actual.json
13 14
 	then