File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 77 files : ^tests/(.*/)?test_.*\.sh$
88 types : [shell]
99 pass_filenames : true
10- # Duplicated with different id name for convienience
10+ # Duplicated with different id name for convenience
1111- id : bash_unit
1212 name : Run tests with `bash_unit`
1313 description : This hook runs tests using `bash_unit`
Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ test_obvious_notmatching_with_assert_not_matches(){
598598'a string' should not match 'a str.*'
599599 expected regex [a str.*] should not match but matched [a string]
600600doc:2:test_obvious_matching_with_assert_not_matches()
601- Running test_obvious_notmatching_with_assert_not_matches ... SUCCESS
601+ Running test_obvious_nonmatching_with_assert_not_matches ... SUCCESS
602602```
603603
604604=== *assert_within_delta*
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ text_format() {
407407 notify_stack () {
408408 color " $YELLOW "
409409 }
410- notify_suites_succeded () {
410+ notify_suites_succeeded () {
411411 echo -n " Overall result: SUCCESS" | pretty_success
412412 echo
413413 }
@@ -460,7 +460,7 @@ tap_format() {
460460 notify_stack () {
461461 " $SED " ' s:^:# :' | color " $YELLOW "
462462 }
463- notify_suites_succeded () {
463+ notify_suites_succeeded () {
464464 local message=" $1 "
465465 echo " 1..$message "
466466 }
@@ -595,7 +595,7 @@ if ((failure))
595595then
596596 notify_suites_failed " $( cat " ${TEST_COUNT_FILE} " ) "
597597else
598- notify_suites_succeded " $( cat " ${TEST_COUNT_FILE} " ) "
598+ notify_suites_succeeded " $( cat " ${TEST_COUNT_FILE} " ) "
599599fi
600600
601601exit $failure
Original file line number Diff line number Diff line change @@ -338,6 +338,6 @@ mute() {
338338 notify_stack () { $CAT > /dev/null ; }
339339 notify_stdout () { : ; }
340340 notify_stderr () { : ; }
341- notify_suites_succeded () { : ; }
341+ notify_suites_succeeded () { : ; }
342342 notify_suites_failed () { : ; }
343343}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ test_bash_unit_rejects_invalid_format() {
88 assert_fails " $BASH_UNIT -f invalid_format"
99}
1010
11- test_tap_format_for_one_succesfull_test () {
11+ test_tap_format_for_one_successful_test () {
1212 assert_equals \
1313" \
1414# Running tests in code
You can’t perform that action at this time.
0 commit comments