1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:44:41 -07:00

go/build: fix test on Windows

Change-Id: Icba46194bcbfd86b512eef2599242c715ad4e7d3
Reviewed-on: https://go-review.googlesource.com/2041
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Brad Fitzpatrick 2014-12-22 13:59:17 -08:00
parent a824ffcc93
commit b68c0aec20

View File

@ -99,7 +99,7 @@ func TestMultiplePackageImport(t *testing.T) {
t.Fatal(`Import("testdata/multi") did not return MultiplePackageError.`)
}
want := &MultiplePackageError{
Dir: "testdata/multi",
Dir: filepath.FromSlash("testdata/multi"),
Packages: []string{"main", "test_package"},
Files: []string{"file.go", "file_appengine.go"},
}