mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 12:26:38 +02:00
Fix 'bat cache other-arg', closes #666
This commit is contained in:
@@ -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