|
87 | 87 |
|
88 | 88 | @testset "splitpath" begin |
89 | 89 | @test splitpath(joinpath("a","b","c")) == ["a", "b", "c"] |
90 | | - @test splitpath("") == [] |
| 90 | + @test splitpath("") == [""] |
91 | 91 |
|
92 | 92 | @test splitpath(joinpath("cats are", "gr8t")) == ["cats are", "gr8t"] |
93 | 93 | @test splitpath(joinpath(" ", " ")) == [" ", " "] |
|
106 | 106 | @test splitpath("C:\\\\") == ["C:\\"] |
107 | 107 | @test splitpath("J:\\") == ["J:\\"] |
108 | 108 | @test splitpath("C:") == ["C:"] |
109 | | - @test splitpath("C:a") == ["C:", "a"] |
110 | | - @test splitpath("C:a\\b") == ["C:", "a", "b"] |
| 109 | + @test splitpath("C:a") == ["C:a"] |
| 110 | + @test splitpath("C:a\\b") == ["C:a", "b"] |
111 | 111 |
|
112 | 112 | @test splitpath("a\\") == ["a"] |
113 | 113 | @test splitpath("a\\\\b\\\\") == ["a","b"] |
114 | 114 | @test splitpath("a.dir\\b.txt") == ["a.dir", "b.txt"] |
115 | 115 | @test splitpath("\\a\\b\\") == ["\\", "a","b"] |
| 116 | + @test splitpath("\\\\a\\b") == ["\\", "a","b"] |
116 | 117 |
|
117 | 118 | @test splitpath("/a/b\\c/d\\\\e") == ["/", "a", "b", "c", "d", "e"] |
118 | 119 | @test splitpath("/\\/\\") == ["/"] |
|
0 commit comments