diff options
Diffstat (limited to 'src/libstd/sys/windows/path/tests.rs')
| -rw-r--r-- | src/libstd/sys/windows/path/tests.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libstd/sys/windows/path/tests.rs b/src/libstd/sys/windows/path/tests.rs deleted file mode 100644 index fbac1dc1ca1..00000000000 --- a/src/libstd/sys/windows/path/tests.rs +++ /dev/null @@ -1,21 +0,0 @@ -use super::*; - -#[test] -fn test_get_first_two_components() { - assert_eq!( - get_first_two_components(br"server\share", is_verbatim_sep), - Some((&b"server"[..], &b"share"[..])), - ); - - assert_eq!( - get_first_two_components(br"server\", is_verbatim_sep), - Some((&b"server"[..], &b""[..])) - ); - - assert_eq!( - get_first_two_components(br"\server\", is_verbatim_sep), - Some((&b""[..], &b"server"[..])) - ); - - assert_eq!(get_first_two_components(br"there are no separators here", is_verbatim_sep), None,); -} |
