Skip to content

Commit

Permalink
Fix check in test4.
Browse files Browse the repository at this point in the history
  • Loading branch information
boxdot committed Sep 30, 2015
1 parent dae506d commit 02bd562
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -e
set -ev

cd "$(dirname "$0")"

Expand Down Expand Up @@ -29,6 +29,9 @@ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
EOF`
RESULT=`echo "$INPUT" | node build/test4.js`
test "$INPUT" = "$RESULT"
if [ ! "$INPUT" = "$RESULT" ]; then
echo "Unexpected output: $RESULT"
exit 1
fi
echo "Success"

0 comments on commit 02bd562

Please sign in to comment.