mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Fix 'bat cache other-arg', closes #666
This commit is contained in:
1 parent
4df5973fde
commit
f5d359927a
2 files changed
+32
-13
No files matched your search
@@ -459,6 +459,17 @@ fn can_print_file_named_cache() {
|
||||
.stderr("");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn can_print_file_named_cache_with_additional_argument() {
|
||||
bat_with_config()
|
||||
.arg("cache")
|
||||
.arg("test.txt")
|
||||
.assert()
|
||||
.success()
|
||||
.stdout("test\nhello world\n")
|
||||
.stderr("");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn can_print_file_starting_with_cache() {
|
||||
bat_with_config()
|
||||
|
||||
Reference in new issue
Block a user