MCPcopy 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
10func TestCreateInvalid(t *testing.T) {
11 if _, err := Create(nil); err == nil {
12 t.Error("Create(nil) should have failed")
13 }
14}
15
16func TestNewRpcServerAnyPort(t *testing.T) {
17 n := &Node{}

Callers

nothing calls this directly

Calls 1

CreateFunction · 0.85

Tested by

no test coverage detected