Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dadgar/onecache
/ TestCreateInvalid
Function
TestCreateInvalid
onecache/onecache_test.go:10–14 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
TestCreateInvalid(t *testing.T) {
11
if
_, err := Create(nil); err == nil {
12
t.Error(
"Create(nil) should have failed"
)
13
}
14
}
15
16
func
TestNewRpcServerAnyPort(t *testing.T) {
17
n := &Node{}
Callers
nothing calls this directly
Calls
1
Create
Function · 0.85
Tested by
no test coverage detected