Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ TestMockClock_Add_negative
Function
TestMockClock_Add_negative
internal/ztest/clock_test.go:77–80 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
TestMockClock_Add_negative(t *testing.T) {
78
clock := NewMockClock()
79
assert.Panics(t,
func
() { clock.Add(-1) })
80
}
Callers
nothing calls this directly
Calls
2
Add
Method · 0.95
NewMockClock
Function · 0.85
Tested by
no test coverage detected