Bugfix: Resolve failing acceptance test

This commit is contained in:
kenjones
2017-09-22 23:58:50 -04:00
parent 45e9ad870f
commit cf2f23d747
3 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ set -e
# acceptance test
X=$(./bin/yaml w ./examples/sample.yaml b.c 3 | ./bin/yaml r - b.c)
if [ $X != 3 ]
then
if [[ $X != 3 ]]; then
echo "Failed acceptance test: expected 2 but was $X"
exit 1
fi