From 7286502b0d225b995d391c72efbaa7690ad023a9 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 7 Oct 2021 14:23:54 -0400 Subject: [PATCH] test/fixedbugs: fix issue48784.go to pass with -G=0 This test is currently failing in the longtest builders. I do not know how or why the builders are adding the -G=0 parameter. Updates #48784 Change-Id: I62248d3fbc47567a8c73b4868a2d4aeb0bc47bc3 Reviewed-on: https://go-review.googlesource.com/c/go/+/354631 Trust: Bryan C. Mills Run-TryBot: Bryan C. Mills Reviewed-by: Robert Griesemer Reviewed-by: Matthew Dempsky TryBot-Result: Go Bot --- test/fixedbugs/issue48784.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fixedbugs/issue48784.go b/test/fixedbugs/issue48784.go index 6048518df2..b07f524305 100644 --- a/test/fixedbugs/issue48784.go +++ b/test/fixedbugs/issue48784.go @@ -15,9 +15,9 @@ var t T var a [1]int var ( - _ = s == nil // ERROR "invalid operation:.*mismatched types string and untyped nil" - _ = b == nil // ERROR "invalid operation:.*mismatched types bool and untyped nil" - _ = i == nil // ERROR "invalid operation:.*mismatched types int and untyped nil" - _ = t == nil // ERROR "invalid operation:.*mismatched types T and untyped nil" - _ = a == nil // ERROR "invalid operation:.*mismatched types \[1\]int and untyped nil" + _ = s == nil // ERROR "invalid operation:.*mismatched types string and (untyped )?nil" + _ = b == nil // ERROR "invalid operation:.*mismatched types bool and (untyped )?nil" + _ = i == nil // ERROR "invalid operation:.*mismatched types int and (untyped )?nil" + _ = t == nil // ERROR "invalid operation:.*mismatched types T and (untyped )?nil" + _ = a == nil // ERROR "invalid operation:.*mismatched types \[1\]int and (untyped )?nil" ) -- 2.50.0