mirror of
https://github.com/golang/go
synced 2024-11-18 11:34:45 -07:00
internal/lsp/regtest: don't build unix_test for Plan 9
TestBadGOPATH tests for a empty element in the GOPATH list using "GOPATH=:/path/to/gopath", assuming that ':' is the path list separator. On Windows the test fails, because Windows path list separator is ';'. Therefore this test isn't built for Windows. On Plan 9, os.PathListSeparator is '\000', so the test fails there too, and should not be built for Plan 9. Change-Id: Icdc2f8de098c1415103ec6124906ad6c578ad183 Reviewed-on: https://go-review.googlesource.com/c/tools/+/233718 Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
65e69ff2d1
commit
866d71a317
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build !windows
|
||||
// +build !windows,!plan9
|
||||
|
||||
package regtest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user