Explorar el Código

Even more description of expected vs. actual

Greg Turnquist hace 13 años
padre
commit
88b854c646
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      test/run.sh

+ 2
- 1
test/run.sh Ver fichero

@@ -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