Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(551)

Issue 3427043: code review 3427043: throughout: fix broken calls to Printf etc. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by r
Modified:
14 years, 3 months ago
Reviewers:
rh
CC:
rsc, golang-dev
Visibility:
Public.

Description

throughout: fix broken calls to Printf etc. I have written a tool to verify Printf calls, and although it's not ready to be reviewed yet it's already uncovered a spate of problems in the repository. I'm sending this CL to break the changes into pieces; as the tool improves it will find more, I'm sure.

Patch Set 1 #

Total comments: 1

Patch Set 2 : code review 3427043: throughout: fix broken calls to Printf etc. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -114 lines) Patch
M src/pkg/archive/zip/reader_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/big/int_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/bufio/bufio_test.go View 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/bytes/buffer_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/container/vector/intvector_test.go View 4 chunks +24 lines, -24 lines 0 comments Download
M src/pkg/container/vector/stringvector_test.go View 4 chunks +24 lines, -24 lines 0 comments Download
M src/pkg/container/vector/vector_test.go View 4 chunks +24 lines, -24 lines 0 comments Download
M src/pkg/crypto/elliptic/elliptic_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/fmt/scan_test.go View 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/gob/codec_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/json/scanner_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/json/stream_test.go View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/netchan/netchan_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/os_test.go View 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/os/path_test.go View 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/path/path_test.go View 1 chunk +1 line, -1 line 1 comment Download
M src/pkg/reflect/all_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/strconv/atob_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/syslog/syslog_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/time/tick_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/unicode/maketables.go View 5 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/utf8/string_test.go View 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/utf8/utf8_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/websocket/websocket_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/xml/xml_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-12-07 21:33:11 UTC) #1
rsc1
LGTM http://codereview.appspot.com/3427043/diff/1/src/pkg/go/printer/printer_test.go File src/pkg/go/printer/printer_test.go (right): http://codereview.appspot.com/3427043/diff/1/src/pkg/go/printer/printer_test.go#newcode101 src/pkg/go/printer/printer_test.go:101: t.Error("\n") t.Error() seems fine to me error adds ...
14 years, 3 months ago (2010-12-07 21:36:02 UTC) #2
r
*** Submitted as http://code.google.com/p/go/source/detail?r=af890ea71a19 *** throughout: fix broken calls to Printf etc. I have written ...
14 years, 3 months ago (2010-12-07 21:42:56 UTC) #3
rh
14 years, 3 months ago (2010-12-07 22:25:24 UTC) #4
Sorry to nitpick.

http://codereview.appspot.com/3427043/diff/5001/src/pkg/path/path_test.go
File src/pkg/path/path_test.go (right):

http://codereview.appspot.com/3427043/diff/5001/src/pkg/path/path_test.go#new...
src/pkg/path/path_test.go:260: t.Error("no error expected, found: s", err)
Is this right?  This looks like it was trying to be either:
t.Errorf("no error expected, found: %s", err)
or:
t.Error("no error expected, found: ", err)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b