From 559b5d814f63bbeee626778c41ab4ee4fd48030a Mon Sep 17 00:00:00 2001 From: Mark Freeman Date: Mon, 7 Apr 2025 17:28:47 -0400 Subject: [PATCH] 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 --- src/internal/types/testdata/fixedbugs/issue70549.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" */ )