Skip to content
Myr

Don't test global ignore file on windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Becase XDG_CONFIG_HOME doesn't work there.

authored by Thayne McCombs · committed by Thayne McCombs · parent fd707b4 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/tests.rs+2 added
877 unmodified lines
878 one/two/three/directory_foo/",879 );880}881882#[cfg(not(windows))]883#[test]884fn test_global_ignore() {885 let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES).global_ignore_file("one");886 te.assert_output(
3 unmodified lines
890 symlink",891 );892}893894#[cfg(not(windows))]895#[test_case("--unrestricted", ".hidden.foo896a.foo897fdignored.foo898gitignored.foo
1581 unmodified lines