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

Function TestInt64ArrayScanUnsupported

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

Source from the content-addressed store, hash-verified

647}
648
649func TestInt64ArrayScanUnsupported(t *testing.T) {
650 var arr Int64Array
651 err := arr.Scan(true)
652
653 if err == nil {
654 t.Fatal("Expected error when scanning from bool")
655 }
656 if !strings.Contains(err.Error(), "bool to Int64Array") {
657 t.Errorf("Expected type to be mentioned when scanning, got %q", err)
658 }
659}
660
661func TestInt64ArrayScanEmpty(t *testing.T) {
662 var arr Int64Array

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…