mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-18 12:00:11 +02:00
Support a hidden arg --no-custom-assets that skips loading assets from the cache
This commit is contained in:
@@ -795,6 +795,17 @@ fn does_not_print_unwanted_file_named_cache() {
|
||||
bat_with_config().arg("cach").assert().failure();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_no_custom_assets_arg() {
|
||||
// Just make sure --no-custom-assets is considered a valid arg
|
||||
// Don't bother to actually verify that it works
|
||||
bat()
|
||||
.arg("--no-custom-assets")
|
||||
.arg("test.txt")
|
||||
.assert()
|
||||
.success();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unicode_wrap() {
|
||||
bat_with_config()
|
||||
|
Reference in New Issue
Block a user