Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
183
func
(t *testLogSpy) AssertPassed() {
184
t.assertFailed(false,
"expected test to pass"
)
185
}
186
187
func
(t *testLogSpy) AssertFailed() {
188
t.assertFailed(true,
"expected test to fail"
)
Callers
3
TestTestLogger
Function · 0.80
TestTestLoggerSupportsLevels
Function · 0.80
TestTestLoggerSupportsWrappedZapOptions
Function · 0.80
Calls
1
assertFailed
Method · 0.95
Tested by
no test coverage detected