From: jjpinto Date: Fri, 26 Dec 2025 14:57:02 +0000 (+0000) Subject: test: follow got/want convention in uintptrescapes test X-Git-Tag: go1.26rc2~7^2~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3dcb48d298;p=gostls13.git test: follow got/want convention in uintptrescapes test Standardize the output messages in uintptrescapes.dir/main.go Change-Id: I7965bb9829c7b55ac03cb8b46b333e6b65acf755 GitHub-Last-Rev: d254e0e30eac3a54bff4581f75a01587be029b15 GitHub-Pull-Request: golang/go#77000 Reviewed-on: https://go-review.googlesource.com/c/go/+/732761 Reviewed-by: Cherry Mui Auto-Submit: Keith Randall Reviewed-by: Keith Randall Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI --- diff --git a/test/uintptrescapes.dir/main.go b/test/uintptrescapes.dir/main.go index afda6218ad..0ccb18f9ff 100644 --- a/test/uintptrescapes.dir/main.go +++ b/test/uintptrescapes.dir/main.go @@ -49,7 +49,7 @@ func main() { defer wg.Done() b := F1() if b != 42 { - fmt.Printf("F1: got %d, expected 42\n", b) + fmt.Printf("F1: got %d, want 42\n", b) c <- false } }() @@ -58,7 +58,7 @@ func main() { defer wg.Done() b := F2() if b != 42 { - fmt.Printf("F2: got %d, expected 42\n", b) + fmt.Printf("F2: got %d, want 42\n", b) c <- false } }() @@ -67,7 +67,7 @@ func main() { defer wg.Done() b := M1() if b != 42 { - fmt.Printf("M1: got %d, expected 42\n", b) + fmt.Printf("M1: got %d, want 42\n", b) c <- false } }() @@ -76,7 +76,7 @@ func main() { defer wg.Done() b := M2() if b != 42 { - fmt.Printf("M2: got %d, expected 42\n", b) + fmt.Printf("M2: got %d, want 42\n", b) c <- false } }()