diff --git a/library/std/src/path/tests.rs b/library/std/src/path/tests.rs index 92702b395df..53a65c60b58 100644 --- a/library/std/src/path/tests.rs +++ b/library/std/src/path/tests.rs @@ -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,