MCPcopy Index your code
hub / github.com/linkerd/linkerd2 / Fatal

Function Fatal

testutil/annotations.go:97–101  ·  view source on GitHub ↗

Fatal is a wrapper around t.Fatal() args are passed to t.Fatal(args) and each arg will be sent to stdout formatted as a GitHub annotation when the envFlag environment variable is set

(t *testing.T, args ...interface{})

Source from the content-addressed store, hash-verified

95// args are passed to t.Fatal(args) and each arg will be sent to stdout formatted
96// as a GitHub annotation when the envFlag environment variable is set
97func Fatal(t *testing.T, args ...interface{}) {
98 t.Helper()
99 echoAnnotationErr(t, args)
100 t.Fatal(args...)
101}
102
103// AnnotatedFatal is similar to Fatal() but it also admits a msg string that
104// will be used as the GitHub annotation

Callers 1

TestCliTapFunction · 0.92

Calls 2

echoAnnotationErrFunction · 0.85
FatalMethod · 0.80

Tested by 1

TestCliTapFunction · 0.74