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

Function TestBoolArrayScanString

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

Source from the content-addressed store, hash-verified

256}
257
258func TestBoolArrayScanString(t *testing.T) {
259 for _, tt := range BoolArrayStringTests {
260 arr := BoolArray{true, true, true}
261 err := arr.Scan(tt.str)
262
263 if err != nil {
264 t.Fatalf("Expected no error for %q, got %v", tt.str, err)
265 }
266 if !reflect.DeepEqual(arr, tt.arr) {
267 t.Errorf("Expected %+v for %q, got %+v", tt.arr, tt.str, arr)
268 }
269 }
270}
271
272func TestBoolArrayScanError(t *testing.T) {
273 for _, tt := range []struct {

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…