]> Cypherpunks repositories - gostls13.git/commitdiff
Refactor output message
authorLev Ustimenko <Leva3175@gmail.com>
Mon, 22 Apr 2024 20:09:05 +0000 (20:09 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 22 Apr 2024 22:06:14 +0000 (22:06 +0000)
"/reflect/all_test.go : refactor message."

This PR corrects a syntax

%value -> %v

Change-Id: Ie56b93d238f090c564a88eb963dc9b7773054356
GitHub-Last-Rev: 023fde3ed4f31d5d702d76a593a63aaad1b4ac39
GitHub-Pull-Request: golang/go#66974
Reviewed-on: https://go-review.googlesource.com/c/go/+/580935
Reviewed-by: Joedian Reid <joedian@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/reflect/all_test.go

index 5df83bef7a3b0b8afe80d60b0174d7cc84fb1f44..f2cb604bace9665dbb9487e0d3071155b5b8a538 100644 (file)
@@ -8521,7 +8521,7 @@ func TestClear(t *testing.T) {
                t.Run(tc.name, func(t *testing.T) {
                        t.Parallel()
                        if !tc.testFunc(tc.value) {
-                               t.Errorf("unexpected result for value.Clear(): %value", tc.value)
+                               t.Errorf("unexpected result for value.Clear(): %v", tc.value)
                        }
                })
        }