mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 19:02:22 +01:00
Fix bat cache --clear
not clearing the --target
dir if specified
This commit is contained in:
@@ -892,11 +892,8 @@ fn config_read_arguments_from_file() {
|
||||
.stdout(predicate::eq("dummy-pager-from-config\n").normalize());
|
||||
}
|
||||
|
||||
// Ignore this test for now as `bat cache --clear` only targets the default cache dir.
|
||||
// `bat cache --clear` must clear the `--target` dir for this test to pass.
|
||||
#[cfg(unix)]
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn cache_clear() {
|
||||
let src_dir = "cache_source";
|
||||
let tmp_dir = tempdir().expect("can create temporary directory");
|
||||
|
Reference in New Issue
Block a user