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

Function TestInt64ArrayScanString

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

Source from the content-addressed store, hash-verified

717}
718
719func TestInt64ArrayScanString(t *testing.T) {
720 for _, tt := range Int64ArrayStringTests {
721 arr := Int64Array{5, 5, 5}
722 err := arr.Scan(tt.str)
723
724 if err != nil {
725 t.Fatalf("Expected no error for %q, got %v", tt.str, err)
726 }
727 if !reflect.DeepEqual(arr, tt.arr) {
728 t.Errorf("Expected %+v for %q, got %+v", tt.arr, tt.str, arr)
729 }
730 }
731}
732
733func TestInt64ArrayScanError(t *testing.T) {
734 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…