Tests ~ add test case to 'Fix ~ improve portability of path manipulation'

This commit is contained in:
Roy Ivy III
2020-01-22 19:42:01 -06:00
parent 0898ee6bf0
commit 26ef8c3e59

View File

@@ -310,6 +310,7 @@ mod tests {
assert!(!is_a_parent_of("/usr/", "/usr"));
assert!(!is_a_parent_of("/usr/andy", "/usr"));
assert!(!is_a_parent_of("/usr/andy", "/usr/sibling"));
assert!(!is_a_parent_of("/usr/folder", "/usr/folder_not_a_child"));
}
#[test]