Add test case demonstrating equality of paths "foo/bar" and "foobar"
This commit is contained in:
parent
1cfd47fe0b
commit
a7372372f6
@ -1566,6 +1566,13 @@ macro_rules! tc (
|
|||||||
relative_from: Some("bar")
|
relative_from: Some("bar")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
tc!("foo/bar", "foobar",
|
||||||
|
eq: false,
|
||||||
|
starts_with: false,
|
||||||
|
ends_with: false,
|
||||||
|
relative_from: None
|
||||||
|
);
|
||||||
|
|
||||||
tc!("foo/bar/baz", "foo/bar",
|
tc!("foo/bar/baz", "foo/bar",
|
||||||
eq: false,
|
eq: false,
|
||||||
starts_with: true,
|
starts_with: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user