Add test case demonstrating equality of paths "foo/bar" and "foobar"

This commit is contained in:
Zanie Blue 2024-07-02 19:50:39 -05:00 committed by The 8472
parent 1cfd47fe0b
commit a7372372f6
1 changed files with 7 additions and 0 deletions

View File

@ -1566,6 +1566,13 @@ pub fn test_compare() {
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",
eq: false,
starts_with: true,