mirror of https://github.com/golang/go.git
path/filepath: remove IsLocal tests dependent on Windows version
Don't test IsLocal("nul.txt"), since whether this name is reserved
or not is version-dependent.
Change-Id: Ifff3edc77454e052080e325871c08bbba49e692c
Reviewed-on: https://go-review.googlesource.com/c/go/+/451222
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
fdd8f0219d
commit
b138e71e5b
|
|
@ -167,10 +167,8 @@ var winislocaltests = []IsLocalTest{
|
|||
{"NUL", false},
|
||||
{"nul", false},
|
||||
{"nul.", false},
|
||||
{"nul.txt", false},
|
||||
{"com1", false},
|
||||
{"./nul", false},
|
||||
{"a/nul.txt/b", false},
|
||||
{`\`, false},
|
||||
{`\a`, false},
|
||||
{`C:`, false},
|
||||
|
|
|
|||
Loading…
Reference in New Issue