From 761c4452636c46e972cc62cd6339d030802e86fa Mon Sep 17 00:00:00 2001 From: Nathan Moreau Date: Sun, 14 Apr 2019 17:03:18 +0200 Subject: [PATCH] Add a non regression test. --- tests/tests.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/tests.rs b/tests/tests.rs index d33aa07..299632b 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -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", + ); +}