Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
  • Loading branch information
testwill authored and Enselic committed Mar 17, 2024
1 parent 07c26ad commit 4790def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/syntax-tests/test_custom_assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 4790def

Please sign in to comment.