Skip to content

Commit

Permalink
go/loader: exclude example tests from Windows tests
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
griesemer committed Jul 31, 2015
1 parent 784fe34 commit 50fdc6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions go/loader/example14_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// +build !go1.5
// +build !windows

package loader_test

Expand Down
1 change: 1 addition & 0 deletions go/loader/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// +build go1.5
// +build !windows

package loader_test

Expand Down

0 comments on commit 50fdc6b

Please sign in to comment.