diff options
author | Damien Neil <dneil@google.com> | 2022-11-16 17:33:03 -0800 |
---|---|---|
committer | Damien Neil <dneil@google.com> | 2022-11-17 02:24:38 +0000 |
commit | b138e71e5b90c75e6e5239fb8f4536c6dcc31c36 (patch) | |
tree | 4db60ddf32b9629d0f19a62f50b385c3a87c0b8c /src/path | |
parent | fdd8f0219d055f16647c8dfcd11e79cce222d200 (diff) | |
download | go-git-b138e71e5b90c75e6e5239fb8f4536c6dcc31c36.tar.gz |
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>
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/filepath/path_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/path/filepath/path_test.go b/src/path/filepath/path_test.go index 771416770e..89fd6cb5a2 100644 --- a/src/path/filepath/path_test.go +++ b/src/path/filepath/path_test.go @@ -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}, |