Skip to content

Commit 3dcb48d

Browse files
jjpintogopherbot
authored andcommitted
test: follow got/want convention in uintptrescapes test
Standardize the output messages in uintptrescapes.dir/main.go Change-Id: I7965bb9829c7b55ac03cb8b46b333e6b65acf755 GitHub-Last-Rev: d254e0e GitHub-Pull-Request: #77000 Reviewed-on: https://go-review.googlesource.com/c/go/+/732761 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent f7b7e94 commit 3dcb48d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎test/uintptrescapes.dir/main.go‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func main() {
4949
defer wg.Done()
5050
b := F1()
5151
if b != 42 {
52-
fmt.Printf("F1: got %d, expected 42\n", b)
52+
fmt.Printf("F1: got %d, want 42\n", b)
5353
c <- false
5454
}
5555
}()
@@ -58,7 +58,7 @@ func main() {
5858
defer wg.Done()
5959
b := F2()
6060
if b != 42 {
61-
fmt.Printf("F2: got %d, expected 42\n", b)
61+
fmt.Printf("F2: got %d, want 42\n", b)
6262
c <- false
6363
}
6464
}()
@@ -67,7 +67,7 @@ func main() {
6767
defer wg.Done()
6868
b := M1()
6969
if b != 42 {
70-
fmt.Printf("M1: got %d, expected 42\n", b)
70+
fmt.Printf("M1: got %d, want 42\n", b)
7171
c <- false
7272
}
7373
}()
@@ -76,7 +76,7 @@ func main() {
7676
defer wg.Done()
7777
b := M2()
7878
if b != 42 {
79-
fmt.Printf("M2: got %d, expected 42\n", b)
79+
fmt.Printf("M2: got %d, want 42\n", b)
8080
c <- false
8181
}
8282
}()

0 commit comments

Comments
 (0)