From b5216e2e559a585a424fa3eb28c0e158fe79a75b Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Thu, 22 Dec 2011 10:05:51 -0800 Subject: [PATCH] testing: compare Log to Println Log always adds spaces between operands, like Println but unlike Print R=golang-dev CC=golang-dev https://golang.org/cl/5504069 --- src/pkg/testing/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/testing/testing.go b/src/pkg/testing/testing.go index 3d81ee0b9e..ded48d9e21 100644 --- a/src/pkg/testing/testing.go +++ b/src/pkg/testing/testing.go @@ -147,7 +147,7 @@ func (c *common) log(s string) { c.output = append(c.output, decorate(s, true)...) } -// Log formats its arguments using default formatting, analogous to Print(), +// Log formats its arguments using default formatting, analogous to Println(), // and records the text in the error log. func (c *common) Log(args ...interface{}) { c.log(fmt.Sprintln(args...)) } -- 2.48.1