MCPcopy Create free account
hub / github.com/evilsocket/sum / TestWrappedRecordMetaWithInvalidKey

Function TestWrappedRecordMetaWithInvalidKey

wrapper/record_test.go:77–82  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

75}
76
77func TestWrappedRecordMetaWithInvalidKey(t *testing.T) {
78 r := WrapRecord(&testRecord)
79 if got := r.Meta("i do not exist"); got != "" {
80 t.Fatalf("expecting empty value, got '%s'", got)
81 }
82}
83
84func TestWrappedRecordDot(t *testing.T) {
85 testRecord.Data = []float32{3, 6, 9}

Callers

nothing calls this directly

Calls 2

WrapRecordFunction · 0.85
MetaMethod · 0.80

Tested by

no test coverage detected