Add a non regression test.

This commit is contained in:
Nathan Moreau 2019-04-14 17:03:18 +02:00 committed by David Peter
parent 588e344d5b
commit 761c445263
1 changed files with 14 additions and 0 deletions

View File

@ -1231,3 +1231,17 @@ fn test_modified_asolute() {
"30dec2017",
);
}
#[test]
fn test_custom_path_separator() {
let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES);
te.assert_output(
&["foo", "one", "--path-separator", "="],
"one=b.foo
one=two=c.foo
one=two=C.Foo2
one=two=three=d.foo
one=two=three=directory_foo",
);
}