Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/digitalocean/doctl
/ TestMockRunner
Function
TestMockRunner
util_test.go:23–28 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
21
)
22
23
func
TestMockRunner(t *testing.T) {
24
e := fmt.Errorf(
"an error"
)
25
mr := MockRunner{e}
26
27
assert.Equal(t, e, mr.Run())
28
}
Callers
nothing calls this directly
Calls
2
Run
Method · 0.95
Errorf
Method · 0.80
Tested by
no test coverage detected