Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/spf13/cobra
/ assertNoErr
Function
assertNoErr
doc/man_docs_test.go:29–33 ·
view source on GitHub ↗
(t *testing.T, e error)
Source
from the content-addressed store, hash-verified
27
)
28
29
func
assertNoErr(t *testing.T, e error) {
30
if
e != nil {
31
t.Error(e)
32
}
33
}
34
35
func
translate(in string) string {
36
return
strings.ReplaceAll(in,
"-"
,
"\\-"
)
Callers
1
TestManPrintFlagsHidesShortDeprecated
Function · 0.70
Calls
1
Error
Method · 0.80
Tested by
no test coverage detected