]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: delete debugging print that crept in to test.
authorRob Pike <r@golang.org>
Tue, 1 Mar 2011 21:39:44 +0000 (13:39 -0800)
committerRob Pike <r@golang.org>
Tue, 1 Mar 2011 21:39:44 +0000 (13:39 -0800)
(you'd never see it, but ouch.)
Spotted by Florian Weimer.

R=rsc
CC=golang-dev
https://golang.org/cl/4259044

src/pkg/fmt/fmt_test.go

index 434561f140cfdce9614dc4264230800d0c41836c..c8aa6090bbf7f489deeee87dddb44fb00157541b 100644 (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.