Running "go fmt" on printer_test.go breaks the tests.

Bug #1178806 reported by Manoj Dayaram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gocheck
New
Undecided
Unassigned

Bug Description

After running "go fmt" on printer_test.go, I got the following errors when running the tests:

----------------------------------------------------------------------
FAIL: printer_test.go:84: PrinterS.TestPrintLine

printer_test.go:88:
    c.Assert(output, Equals, test.output)
... obtained string = "" +
... "case 6:\n" +
... " ... // Comment6\n" +
... " println(7)"
... expected string = "" +
... "case 6:\n" +
... " println(6) // Comment6\n" +
... " ..."

OOPS: 123 passed, 1 FAILED
--- FAIL: Test (0.16 seconds)
FAIL
FAIL gocheck 0.180s

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.