1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:04:43 -07:00

go/loader: exclude example tests from Windows tests

The output of ExampleConfig_CreateFromFiles and ExampleConfig_Import
are different for Windows that for other platforms: They contain
internal/syscall/windows packages and unicode/utf16 not present in
the output for other platforms.

For golang/go#11811.

Change-Id: Id391fbeec8123616da86cb68fc3cefcd513b2493
Reviewed-on: https://go-review.googlesource.com/13032
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Robert Griesemer 2015-07-31 14:40:56 -07:00
parent 784fe34e06
commit 50fdc6b946
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !go1.5 // +build !go1.5
// +build !windows
package loader_test package loader_test

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.5 // +build go1.5
// +build !windows
package loader_test package loader_test