diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2012-03-23 15:57:19 +1100 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2012-03-23 15:57:19 +1100 |
| commit | f39ff80beaab4b366917575e5addcbdd551563c2 (patch) | |
| tree | 22196edbf5bd8173fbf80312f62e73f824d4d3a7 /src/pkg/path/filepath/path_test.go | |
| parent | d420be5b1c03dd4d7791062ae50c37fb0aa529d6 (diff) | |
| download | go-f39ff80beaab4b366917575e5addcbdd551563c2.tar.xz | |
path/filepath: windows drive letter cannot be a digit
R=golang-dev, r
CC=golang-dev, mattn.jp
https://golang.org/cl/5885056
Diffstat (limited to 'src/pkg/path/filepath/path_test.go')
| -rw-r--r-- | src/pkg/path/filepath/path_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go index 87cb5e5530..2aba553d23 100644 --- a/src/pkg/path/filepath/path_test.go +++ b/src/pkg/path/filepath/path_test.go @@ -814,6 +814,7 @@ type VolumeNameTest struct { var volumenametests = []VolumeNameTest{ {`c:/foo/bar`, `c:`}, {`c:`, `c:`}, + {`2:`, ``}, {``, ``}, {`\\\host`, ``}, {`\\\host\`, ``}, |
