Fix typecheck test error message

extra characters due to whitespace differences
pull/58/head
Christoph Blecker 2018-10-24 18:23:12 -07:00
parent 8574c38f81
commit e415c1ec1d
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ var packageCases = []struct {
if err != unix.ENXIO {
panic("woops")
}
}`, map[string]string{"linux/amd64": "", "windows/amd64": "test.go:4:13: ENXIO not declared by package unix"}},
}`, map[string]string{"linux/amd64": "", "windows/amd64": "test.go:4:18: ENXIO not declared by package unix"}},
// Fixed in #51984
{`import "golang.org/x/sys/unix"
const linuxHugetlbfsMagic = 0x958458f6