MCPcopy Create free account
hub / github.com/emvi/hide / TestToStringNull

Function TestToStringNull

util_test.go:29–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

27}
28
29func TestToStringNull(t *testing.T) {
30 if hash, err := ToString(0); err != nil || hash != "null" {
31 t.Fatalf("Must return 0 from null ID, but was: %v %v", err, hash)
32 }
33}

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.85

Tested by

no test coverage detected