Support a hidden arg --no-custom-assets that skips loading assets from the cache

This commit is contained in:
Martin Nordholts committed 2021-07-29 08:27:02 +02:00
1 parent a81009607a
commit b040efff79
7 files changed
+33 -6

No files matched your search

+11
View File
@@ -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()