mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-25 01:03:46 +01:00
fix: typo
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
07c26adc35
commit
4790def1ef
@ -41,7 +41,7 @@ fail_test() {
|
|||||||
|
|
||||||
echo_step "TEST: Make sure 'BatTestCustomAssets' is not part of integrated syntaxes"
|
echo_step "TEST: Make sure 'BatTestCustomAssets' is not part of integrated syntaxes"
|
||||||
bat -f "${custom_syntax_args[@]}" &&
|
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'"
|
echo_step "PREPARE: Install custom syntax 'BatTestCustomAssets'"
|
||||||
custom_syntaxes_dir="$(bat --config-dir)/syntaxes"
|
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"
|
echo_step "TEST: 'BatTestCustomAssets' is an unknown syntax with --no-custom-assets"
|
||||||
bat -f --no-custom-assets "${custom_syntax_args[@]}" &&
|
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"
|
echo_step "TEST: 'bat cache --clear' removes all files"
|
||||||
bat cache --clear
|
bat cache --clear
|
||||||
|
Loading…
Reference in New Issue
Block a user