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

Function TestStringArrayScanNil

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

Source from the content-addressed store, hash-verified

824}
825
826func TestStringArrayScanNil(t *testing.T) {
827 arr := StringArray{"x", "x", "x"}
828 err := arr.Scan(nil)
829
830 if err != nil {
831 t.Fatalf("Expected no error, got %v", err)
832 }
833 if arr != nil {
834 t.Errorf("Expected nil, got %+v", arr)
835 }
836}
837
838var StringArrayStringTests = []struct {
839 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…