diff options
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/util.rs b/src/util.rs index fbf81f6..e1f82b3 100644 --- a/src/util.rs +++ b/src/util.rs @@ -84,12 +84,18 @@ mod test { #[test] fn joins_relative() { - assert_eq!(join_subpath(Path::new("foo"), Path::new("bar")), PathBuf::from("foo/bar")); + assert_eq!( + join_subpath(Path::new("foo"), Path::new("bar")), + PathBuf::from("foo/bar") + ); } #[test] fn joins_absolute() { - assert_eq!(join_subpath(Path::new("foo"), Path::new("/bar")), PathBuf::from("foo/bar")); + assert_eq!( + join_subpath(Path::new("foo"), Path::new("/bar")), + PathBuf::from("foo/bar") + ); } #[test] |