You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ostree-ext/tar/export: add test_unmap_path and update test_map_path to use as_os_str()
We want to compare the actual os_str here, because `Eq` on Paths
canonicalizes and removes any trailing '/', but ostree makes a
distinction between trailing '/' or not. For example:
```
let p1 = Path::new("/foo");
let p2 = Path::new("/foo/");
assert_eq!(p1, p2);
println!("{:?} {:?}", p1.as_os_str(), p2.as_os_str());
```
Will print:
"/foo" "/foo/"
Signed-off-by: John Eckersberg <[email protected]>
0 commit comments