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

fmt: delete debugging print that crept in to test.

(you'd never see it, but ouch.)
Spotted by Florian Weimer.

R=rsc
CC=golang-dev
https://golang.org/cl/4259044
This commit is contained in:
Rob Pike 2011-03-01 13:39:44 -08:00
parent 2b9ab22732
commit a77744f488

View File

@ -400,7 +400,6 @@ func TestSprintf(t *testing.T) {
s = s[0:i] + "PTR" + s[j:]
}
if s != tt.out {
println(s, "XXX", tt.out)
if _, ok := tt.val.(string); ok {
// Don't requote the already-quoted strings.
// It's too confusing to read the errors.