We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e1191 commit 26541daCopy full SHA for 26541da
util/tap.go
@@ -111,3 +111,13 @@ func (t *T) Count() int {
111
func (t *T) AutoPlan() {
112
t.printf("1..%d\n", t.Count())
113
}
114
+
115
+// Diagnostic generates a diagnostic from the message.
116
+func (t *T) Diagnostic(message string) {
117
+ t.printf("# %s\n", message)
118
+}
119
120
+// Diagnosticf generates a diagnostic from the format string and arguments.
121
+func (t *T) Diagnosticf(format string, a ...interface{}) {
122
+ t.printf("# "+format+"\n", a...)
123
0 commit comments