mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-28 13:01:30 +02:00
Add a non regression test.
This commit is contained in:
parent
588e344d5b
commit
761c445263
@ -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",
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user