Skip to content

Commit 7286502

Browse files
author
Bryan C. Mills
committed
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 <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 77f2750 commit 7286502

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/fixedbugs/issue48784.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ var t T
1515
var a [1]int
1616

1717
var (
18-
_ = s == nil // ERROR "invalid operation:.*mismatched types string and untyped nil"
19-
_ = b == nil // ERROR "invalid operation:.*mismatched types bool and untyped nil"
20-
_ = i == nil // ERROR "invalid operation:.*mismatched types int and untyped nil"
21-
_ = t == nil // ERROR "invalid operation:.*mismatched types T and untyped nil"
22-
_ = a == nil // ERROR "invalid operation:.*mismatched types \[1\]int and untyped nil"
18+
_ = s == nil // ERROR "invalid operation:.*mismatched types string and (untyped )?nil"
19+
_ = b == nil // ERROR "invalid operation:.*mismatched types bool and (untyped )?nil"
20+
_ = i == nil // ERROR "invalid operation:.*mismatched types int and (untyped )?nil"
21+
_ = t == nil // ERROR "invalid operation:.*mismatched types T and (untyped )?nil"
22+
_ = a == nil // ERROR "invalid operation:.*mismatched types \[1\]int and (untyped )?nil"
2323
)

0 commit comments

Comments
 (0)