summaryrefslogtreecommitdiff
path: root/lib/subunit/shell/README
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subunit/shell/README')
-rw-r--r--lib/subunit/shell/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subunit/shell/README b/lib/subunit/shell/README
index 5f7cf37626..af894a2bd3 100644
--- a/lib/subunit/shell/README
+++ b/lib/subunit/shell/README
@@ -38,7 +38,7 @@ a manually written test using the bindings might look like:
subunit_start_test "test name"
# determine if test passes or fails
result=$(something)
-if [ $result -eq 0 ]; then
+if [ $result == 0 ]; then
subunit_pass_test "test name"
else
subunit_fail_test "test name" <<END