summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguoguangwu <guoguangwug@gmail.com>2024-03-17 21:23:08 +0800
committerMartin Nordholts <enselic@gmail.com>2024-03-17 15:40:48 +0100
commit4790def1ef69134e825177b684ce903a111e7df8 (patch)
tree05d5ded0f7bea85ef43fa312100a99a4aa9f6e18
parent07c26adc357f70a48f2b412008d5c37d43e084c5 (diff)
fix: typo
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
-rwxr-xr-xtests/syntax-tests/test_custom_assets.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/syntax-tests/test_custom_assets.sh b/tests/syntax-tests/test_custom_assets.sh
index 937ca9a5..c5692911 100755
--- a/tests/syntax-tests/test_custom_assets.sh
+++ b/tests/syntax-tests/test_custom_assets.sh
@@ -41,7 +41,7 @@ fail_test() {
echo_step "TEST: Make sure 'BatTestCustomAssets' is not part of integrated syntaxes"
bat -f "${custom_syntax_args[@]}" &&
- fail_test "EXPECTED: 'unknown syntax' error ACTUAL: no error occured"
+ fail_test "EXPECTED: 'unknown syntax' error ACTUAL: no error occurred"
echo_step "PREPARE: Install custom syntax 'BatTestCustomAssets'"
custom_syntaxes_dir="$(bat --config-dir)/syntaxes"
@@ -62,7 +62,7 @@ bat -f "${integrated_syntax_args[@]}" ||
echo_step "TEST: 'BatTestCustomAssets' is an unknown syntax with --no-custom-assets"
bat -f --no-custom-assets "${custom_syntax_args[@]}" &&
- fail_test "EXPECTED: 'unknown syntax' error because of --no-custom-assets ACTUAL: no error occured"
+ fail_test "EXPECTED: 'unknown syntax' error because of --no-custom-assets ACTUAL: no error occurred"
echo_step "TEST: 'bat cache --clear' removes all files"
bat cache --clear