mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
printf->Printf etc.
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
This commit is contained in:
parent
c0f6144f1b
commit
61f3302044
20 changed files with 154 additions and 154 deletions
|
|
@ -38,11 +38,11 @@ func (t *T) FailNow() {
|
|||
}
|
||||
|
||||
func (t *T) Log(args ...) {
|
||||
t.errors += "\t" + Tabify(fmt.sprintln(args));
|
||||
t.errors += "\t" + Tabify(fmt.Sprintln(args));
|
||||
}
|
||||
|
||||
func (t *T) Logf(format string, args ...) {
|
||||
t.errors += Tabify(fmt.sprintf("\t" + format, args));
|
||||
t.errors += Tabify(fmt.Sprintf("\t" + format, args));
|
||||
l := len(t.errors);
|
||||
if l > 0 && t.errors[l-1] != '\n' {
|
||||
t.errors += "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue