Skip to content

Commit

Permalink
Changed = to -eq because output of result is a numeric value
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Aug 25, 2016
1 parent 74710ec commit 1d18a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/image-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ load ../common

@test "Build Docker Image" {
result=$(bin/build.sh |grep -c "Successfully built*")
[ $result = 1 ]
[ $result -eq 1 ]

}

0 comments on commit 1d18a20

Please sign in to comment.