]> Cypherpunks repositories - gostls13.git/commit
path/filepath: remove IsLocal tests dependent on Windows version
authorDamien Neil <dneil@google.com>
Thu, 17 Nov 2022 01:33:03 +0000 (17:33 -0800)
committerDamien Neil <dneil@google.com>
Thu, 17 Nov 2022 02:24:38 +0000 (02:24 +0000)
commitb138e71e5b90c75e6e5239fb8f4536c6dcc31c36
tree4db60ddf32b9629d0f19a62f50b385c3a87c0b8c
parentfdd8f0219d055f16647c8dfcd11e79cce222d200
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>
src/path/filepath/path_test.go