From e415c1ec1d316f8cdb19aa8ee7f196f2d8cb73b6 Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Wed, 24 Oct 2018 18:23:12 -0700 Subject: [PATCH] Fix typecheck test error message extra characters due to whitespace differences --- test/typecheck/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/typecheck/main_test.go b/test/typecheck/main_test.go index 9b1fb830d5..b03212c005 100644 --- a/test/typecheck/main_test.go +++ b/test/typecheck/main_test.go @@ -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