MCPcopy
hub / github.com/bnb-chain/bsc / Fatal

Method Fatal

internal/utesting/utesting.go:329–332  ·  view source on GitHub ↗

Fatal is equivalent to Log followed by FailNow.

(vs ...interface{})

Source from the content-addressed store, hash-verified

327
328// Fatal is equivalent to Log followed by FailNow.
329func (t *T) Fatal(vs ...interface{}) {
330 t.Log(vs...)
331 t.FailNow()
332}
333
334// Fatalf is equivalent to Logf followed by FailNow.
335func (t *T) Fatalf(format string, vs ...interface{}) {

Callers 15

testGetProofFunction · 0.80
testGCStatsFunction · 0.80
testMemStatsFunction · 0.80
testGetNodeInfoFunction · 0.80
testSetHeadFunction · 0.80
TestStreamRawFunction · 0.80
TestDecoderFuncFunction · 0.80

Calls 2

LogMethod · 0.95
FailNowMethod · 0.95

Tested by 15

testGetProofFunction · 0.64
testGCStatsFunction · 0.64
testMemStatsFunction · 0.64
testGetNodeInfoFunction · 0.64
testSetHeadFunction · 0.64
TestStreamRawFunction · 0.64
TestDecoderFuncFunction · 0.64