MCPcopy Create free account
hub / github.com/aarondl/sqlboiler / TestInt64ArrayScanNil

Function TestInt64ArrayScanNil

types/array_test.go:673–683  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

671}
672
673func TestInt64ArrayScanNil(t *testing.T) {
674 arr := Int64Array{5, 5, 5}
675 err := arr.Scan(nil)
676
677 if err != nil {
678 t.Fatalf("Expected no error, got %v", err)
679 }
680 if arr != nil {
681 t.Errorf("Expected nil, got %+v", arr)
682 }
683}
684
685var Int64ArrayStringTests = []struct {
686 str string

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…