Skip to content

Commit 324f6e5

Browse files
committed
Use Diagnostic() inside Check()
Now that we have a function to generate diagnostic output, we don't have to construct it manually. See #4
1 parent 9de271e commit 324f6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/tap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (t *T) Check(function interface{}, description string) {
9999
return
100100
}
101101

102-
t.printf("# %s\n", err)
102+
t.Diagnostic(err.Error())
103103
t.Ok(false, description)
104104
}
105105

0 commit comments

Comments
 (0)