MCPcopy
hub / github.com/uber-go/zap / AssertPassed

Method AssertPassed

zaptest/logger_test.go:183–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183func (t *testLogSpy) AssertPassed() {
184 t.assertFailed(false, "expected test to pass")
185}
186
187func (t *testLogSpy) AssertFailed() {
188 t.assertFailed(true, "expected test to fail")

Callers 3

TestTestLoggerFunction · 0.80

Calls 1

assertFailedMethod · 0.95

Tested by

no test coverage detected