From b138e71e5b90c75e6e5239fb8f4536c6dcc31c36 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Wed, 16 Nov 2022 17:33:03 -0800 Subject: [PATCH] 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 TryBot-Result: Gopher Robot Run-TryBot: Damien Neil Reviewed-by: Bryan Mills --- src/path/filepath/path_test.go | 2 -- 1 file changed, 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},