@@ -167,7 +167,7 @@ __check_dirs_exist() {
167167 run " $BATS_TEST_ROOTDIR /test.bats"
168168 assert_success
169169 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'
171171}
172172
173173@test " $SUITE : skip_if_none_present_on_system" {
@@ -193,9 +193,9 @@ __check_dirs_exist() {
193193 ' None of foo, bar, or baz are installed on the system' )
194194 assert_lines_equal ' 1..4' \
195195 ' 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]} "
199199}
200200
201201@test " $SUITE : test_join fails if result variable name is invalid" {
@@ -249,9 +249,9 @@ __check_dirs_exist() {
249249 TEST_FILTER=' b[a-z]r' run bats " $test_file "
250250 assert_success
251251 assert_lines_equal ' 1..3' \
252- ' ok 1 # skip foo ' \
252+ ' ok 1 foo # skip' \
253253 ' ok 2 bar' \
254- ' ok 3 # skip baz '
254+ ' ok 3 baz # skip'
255255}
256256
257257@test " $SUITE : split_bats_output_into_lines" {
@@ -473,7 +473,7 @@ __check_dirs_exist() {
473473 ' skip "just because"' \
474474 ' [[ $((2 + 2)) -eq 5 ]] || return 1' \
475475 ' }'
476- assert_success ' 1..1' ' ok 1 # skip ( just because) should skip '
476+ assert_success ' 1..1' ' ok 1 should skip # skip just because'
477477}
478478
479479@test " $SUITE : run_bats_test_suite runs a test suite with failures" {
@@ -494,7 +494,7 @@ __check_dirs_exist() {
494494 ' skip_if_system_missing cp rm mkdir' \
495495 ' }'
496496 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'
498498}
499499
500500@test " $SUITE : run_bats_test_suite_in_isolation can access forwarding scripts" {
0 commit comments