Skip to content
Myr

Change full-path tests to work on windows as well

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

authored by Thayne McCombs · committed by Thayne McCombs · parent 0a57576 · Browse files · 1 file+16 added−2 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+16 added−2 removed

  • tests:+16 added−2 removed

1 file+16 added−2 removed

modified:tests/tests.rs+16 added-2 removed
261 unmodified lines
262fn test_and_plus_full_path() {263 let te = TestEnv::new(DEFAULT_DIRS, AND_EXTRA_FILES);264265 te.assert_output(266 &["three", "--full-path", "--and", "_foo", "--and", "/dir"],266 &[267 "three",268 "--full-path",269 "--and",270 "_foo",271 "--and",272 r"[/\\]dir",273 ],274 "one/two/three/directory_foo/",275 );276277 te.assert_output(271 &["three", "--full-path", "--and", "/two", "--and", "/dir"],278 &[279 "three",280 "--full-path",281 "--and",282 r"[/\\]two",283 "--and",284 r"[/\\]dir",285 ],286 "one/two/three/directory_foo/",287 );288}289
2149 unmodified lines