1
0
mirror of https://github.com/golang/go synced 2024-11-14 22:20:21 -07:00

Just %v is fine here

This commit is contained in:
Lev Ustimenko 2024-04-22 23:02:42 +03:00
parent 9f9dd2bfd8
commit 023fde3ed4

View File

@ -8521,7 +8521,7 @@ func TestClear(t *testing.T) {
t.Run(tc.name, func(t *testing.T) { t.Run(tc.name, func(t *testing.T) {
t.Parallel() t.Parallel()
if !tc.testFunc(tc.value) { 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)
} }
}) })
} }