mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Merge pull request #33 from kenjones-cisco/bugfix/acceptance
Bugfix: Resolve failing acceptance test
This commit is contained in:
commit
2933ea1684
@ -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
|
||||
|
@ -3,6 +3,5 @@
|
||||
# This assumes that gonative and gox is installed as per the 'one time setup' instructions
|
||||
# at https://github.com/inconshreveable/gonative
|
||||
|
||||
rm build/*
|
||||
gox -output="build/{{.Dir}}_{{.OS}}_{{.Arch}}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user