File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,16 @@ test_failure_ () {
87
87
say " FAIL $test_count : $1 "
88
88
shift
89
89
echo " $@ " | sed -e ' s/^/ /'
90
- test " $immediate " == " " || exit 1
90
+ test " $immediate " = " " || exit 1
91
91
}
92
92
93
93
94
94
test_debug () {
95
- test " $debug " == " " || eval " $1 "
95
+ test " $debug " = " " || eval " $1 "
96
96
}
97
97
98
98
test_expect_failure () {
99
- test " $# " == 2 ||
99
+ test " $# " = 2 ||
100
100
error " bug in the test script: not 2 parameters to test-expect-failure"
101
101
say >&3 " expecting failure: $2 "
102
102
if eval >&3 2>&4 " $2 "
@@ -108,7 +108,7 @@ test_expect_failure () {
108
108
}
109
109
110
110
test_expect_success () {
111
- test " $# " == 2 ||
111
+ test " $# " = 2 ||
112
112
error " bug in the test script: not 2 parameters to test-expect-success"
113
113
say >&3 " expecting success: $2 "
114
114
if eval >&3 2>&4 " $2 "
You can’t perform that action at this time.
0 commit comments