From: Mark Freeman Date: Mon, 7 Apr 2025 21:28:47 +0000 (-0400) Subject: go/types, types2: fix failing error message test for s390x X-Git-Tag: go1.25rc1~518 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=559b5d814f63bbeee626778c41ab4ee4fd48030a;p=gostls13.git go/types, types2: fix failing error message test for s390x Fixes #73206. Change-Id: If27ce5fe7aa71415b6e2d525c78b1f04b88a308b Reviewed-on: https://go-review.googlesource.com/c/go/+/663635 TryBot-Result: Gopher Robot TryBot-Bypass: Dmitri Shuralyov Reviewed-by: Robert Griesemer Reviewed-by: Mark Freeman Run-TryBot: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov --- diff --git a/src/internal/types/testdata/fixedbugs/issue70549.go b/src/internal/types/testdata/fixedbugs/issue70549.go index eadca0c5d8..fa54b458ee 100644 --- a/src/internal/types/testdata/fixedbugs/issue70549.go +++ b/src/internal/types/testdata/fixedbugs/issue70549.go @@ -7,9 +7,9 @@ package p import "math" var ( - _ = math.Sin - _ = math.SIn /* ERROR "undefined: math.SIn (but have Sin)" */ - _ = math.sin /* ERROR "name sin not exported by package math" */ - _ = math.Foo /* ERROR "undefined: math.Foo" */ - _ = math.foo /* ERROR "undefined: math.foo" */ + _ = math.Sqrt + _ = math.SQrt /* ERROR "undefined: math.SQrt (but have Sqrt)" */ + _ = math.sqrt /* ERROR "name sqrt not exported by package math" */ + _ = math.Foo /* ERROR "undefined: math.Foo" */ + _ = math.foo /* ERROR "undefined: math.foo" */ )