aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path/filepath/path_test.go
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2012-03-23 15:57:19 +1100
committerAlex Brainman <alex.brainman@gmail.com>2012-03-23 15:57:19 +1100
commitf39ff80beaab4b366917575e5addcbdd551563c2 (patch)
tree22196edbf5bd8173fbf80312f62e73f824d4d3a7 /src/pkg/path/filepath/path_test.go
parentd420be5b1c03dd4d7791062ae50c37fb0aa529d6 (diff)
downloadgo-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.go1
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\`, ``},