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

Function TestWrapRecordWithNil

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

Source from the content-addressed store, hash-verified

26}
27
28func TestWrapRecordWithNil(t *testing.T) {
29 wrapped := WrapRecord(nil)
30 if !wrapped.IsNull() {
31 t.Fatal("expected null wrapped")
32 }
33}
34
35func TestWrappedRecordIs(t *testing.T) {
36 a := WrapRecord(&testRecord)

Callers

nothing calls this directly

Calls 2

WrapRecordFunction · 0.85
IsNullMethod · 0.80

Tested by

no test coverage detected