Skip to content

Commit 97af54f

Browse files
lczykpgrange
authored andcommitted
feat: minor typos
1 parent cc88876 commit 97af54f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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`

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]
600600
doc: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*

bash_unit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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))
595595
then
596596
notify_suites_failed "$(cat "${TEST_COUNT_FILE}")"
597597
else
598-
notify_suites_succeded "$(cat "${TEST_COUNT_FILE}")"
598+
notify_suites_succeeded "$(cat "${TEST_COUNT_FILE}")"
599599
fi
600600

601601
exit $failure

tests/test_core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

tests/test_tap_format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)