only colorize our own output

This commit is contained in:
Steven Degutis
2012-03-29 07:18:56 -05:00
parent e45517296e
commit a1443cdc4b

View File

@@ -46,7 +46,7 @@ func TestKoans(t *testing.T) {
func assert(o bool) {
if !o {
fmt.Printf("\n%c[35m%s\n\n", 27, __getRecentLine())
fmt.Printf("\n%c[35m%s%c[0m\n\n", 27, __getRecentLine(), 27)
os.Exit(1)
}
}