MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / TestInt64ArrayScanEmpty

Function TestInt64ArrayScanEmpty

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

Source from the content-addressed store, hash-verified

659}
660
661func TestInt64ArrayScanEmpty(t *testing.T) {
662 var arr Int64Array
663 err := arr.Scan(`{}`)
664
665 if err != nil {
666 t.Fatalf("Expected no error, got %v", err)
667 }
668 if arr == nil || len(arr) != 0 {
669 t.Errorf("Expected empty, got %#v", arr)
670 }
671}
672
673func TestInt64ArrayScanNil(t *testing.T) {
674 arr := Int64Array{5, 5, 5}

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…