Skip to content
Myr

Disable full-path glob test on Windows

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

authored by sharkdp · committed by David Peter · parent 5888881 · Browse files · 1 file+2 added−7 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−7 removed

  • tests:+2 added−7 removed

1 file+2 added−7 removed

modified:tests/tests.rs+2 added-7 removed
267 unmodified lines
268 );269}270271/// Glob-based searches (--glob) in combination with full path searches (--full-path)272#[cfg(not(windows))] // TODO: make this work on Windows273#[test]274fn test_full_path_glob_searches() {275 let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES);276276 #[cfg(not(windows))]277 let pattern = "**/one/**/*.foo";278279 #[cfg(windows)]280 let pattern = "**\\one\\**\\*.foo";281277 te.assert_output(283 &["--glob", "--full-path", pattern],278 &["--glob", "--full-path", "**/one/**/*.foo"],279 "one/b.foo280 one/two/c.foo281 one/two/three/d.foo",282 );
1070 unmodified lines