@@ -167,7 +167,7 @@ __check_dirs_exist() {
167
167
run " $BATS_TEST_ROOTDIR /test.bats"
168
168
assert_success
169
169
assert_lines_equal ' 1..1' \
170
- ' ok 1 # skip ( foo, bar, baz not installed on the system) skip if missing '
170
+ ' ok 1 skip if missing # skip foo, bar, baz not installed on the system'
171
171
}
172
172
173
173
@test " $SUITE : skip_if_none_present_on_system" {
@@ -193,9 +193,9 @@ __check_dirs_exist() {
193
193
' None of foo, bar, or baz are installed on the system' )
194
194
assert_lines_equal ' 1..4' \
195
195
' ok 1 should not skip if at least one present' \
196
- " ok 2 # skip ( ${expected_messages[0]} ) single program missing " \
197
- " ok 3 # skip ( ${expected_messages[1]} ) two programs missing " \
198
- " ok 4 # skip ( ${expected_messages[2]} ) three programs missing "
196
+ " ok 2 single program missing # skip ${expected_messages[0]} " \
197
+ " ok 3 two programs missing # skip ${expected_messages[1]} " \
198
+ " ok 4 three programs missing # skip ${expected_messages[2]} "
199
199
}
200
200
201
201
@test " $SUITE : test_join fails if result variable name is invalid" {
@@ -249,9 +249,9 @@ __check_dirs_exist() {
249
249
TEST_FILTER=' b[a-z]r' run bats " $test_file "
250
250
assert_success
251
251
assert_lines_equal ' 1..3' \
252
- ' ok 1 # skip foo ' \
252
+ ' ok 1 foo # skip' \
253
253
' ok 2 bar' \
254
- ' ok 3 # skip baz '
254
+ ' ok 3 baz # skip'
255
255
}
256
256
257
257
@test " $SUITE : split_bats_output_into_lines" {
@@ -473,7 +473,7 @@ __check_dirs_exist() {
473
473
' skip "just because"' \
474
474
' [[ $((2 + 2)) -eq 5 ]] || return 1' \
475
475
' }'
476
- assert_success ' 1..1' ' ok 1 # skip ( just because) should skip '
476
+ assert_success ' 1..1' ' ok 1 should skip # skip just because'
477
477
}
478
478
479
479
@test " $SUITE : run_bats_test_suite runs a test suite with failures" {
@@ -494,7 +494,7 @@ __check_dirs_exist() {
494
494
' skip_if_system_missing cp rm mkdir' \
495
495
' }'
496
496
assert_success ' 1..1' \
497
- ' ok 1 # skip ( cp, mkdir not installed on the system) should skip '
497
+ ' ok 1 should skip # skip cp, mkdir not installed on the system'
498
498
}
499
499
500
500
@test " $SUITE : run_bats_test_suite_in_isolation can access forwarding scripts" {
0 commit comments