mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
more lgtm files from gofmt
R=gri OCL=35485 CL=35488
This commit is contained in:
parent
8231548365
commit
094f1d5990
78 changed files with 1517 additions and 1441 deletions
|
|
@ -67,13 +67,13 @@ func (t *T) FailNow() {
|
|||
// Log formats its arguments using default formatting, analogous to Print(),
|
||||
// and records the text in the error log.
|
||||
func (t *T) Log(args ...) {
|
||||
t.errors += "\t" + tabify(fmt.Sprintln(args));
|
||||
t.errors += "\t"+tabify(fmt.Sprintln(args));
|
||||
}
|
||||
|
||||
// Log formats its arguments according to the format, analogous to Printf(),
|
||||
// and records the text in the error log.
|
||||
func (t *T) Logf(format string, args ...) {
|
||||
t.errors += "\t" + tabify(fmt.Sprintf(format, args));
|
||||
t.errors += "\t"+tabify(fmt.Sprintf(format, args));
|
||||
}
|
||||
|
||||
// Error is equivalent to Log() followed by Fail().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue