mirror of
https://github.com/sharkdp/fd
synced 2024-11-05 16:58:21 +00:00
Don't test global ignore file on windows
Becase XDG_CONFIG_HOME doesn't work there.
This commit is contained in:
parent
fd707b42c2
commit
b6c7ebc4f1
1 changed files with 2 additions and 0 deletions
|
@ -879,6 +879,7 @@ fn test_no_ignore_aliases() {
|
|||
);
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
#[test]
|
||||
fn test_global_ignore() {
|
||||
let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES).global_ignore_file("one");
|
||||
|
@ -890,6 +891,7 @@ fn test_global_ignore() {
|
|||
);
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
#[test_case("--unrestricted", ".hidden.foo
|
||||
a.foo
|
||||
fdignored.foo
|
||||
|
|
Loading…
Reference in a new issue