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

Function TestBoolArrayScanNil

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

Source from the content-addressed store, hash-verified

207}
208
209func TestBoolArrayScanNil(t *testing.T) {
210 arr := BoolArray{true, true, true}
211 err := arr.Scan(nil)
212
213 if err != nil {
214 t.Fatalf("Expected no error, got %v", err)
215 }
216 if arr != nil {
217 t.Errorf("Expected nil, got %+v", arr)
218 }
219}
220
221var BoolArrayStringTests = []struct {
222 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…