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

Function TestBoolArrayScanUnsupported

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

Source from the content-addressed store, hash-verified

183}
184
185func TestBoolArrayScanUnsupported(t *testing.T) {
186 var arr BoolArray
187 err := arr.Scan(1)
188
189 if err == nil {
190 t.Fatal("Expected error when scanning from int")
191 }
192 if !strings.Contains(err.Error(), "int to BoolArray") {
193 t.Errorf("Expected type to be mentioned when scanning, got %q", err)
194 }
195}
196
197func TestBoolArrayScanEmpty(t *testing.T) {
198 var arr BoolArray

Callers

nothing calls this directly

Calls 2

ScanMethod · 0.95
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…