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

Function TestInt64ArrayScanBytes

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

Source from the content-addressed store, hash-verified

692}
693
694func TestInt64ArrayScanBytes(t *testing.T) {
695 for _, tt := range Int64ArrayStringTests {
696 bytes := []byte(tt.str)
697 arr := Int64Array{5, 5, 5}
698 err := arr.Scan(bytes)
699
700 if err != nil {
701 t.Fatalf("Expected no error for %q, got %v", bytes, err)
702 }
703 if !reflect.DeepEqual(arr, tt.arr) {
704 t.Errorf("Expected %+v for %q, got %+v", tt.arr, bytes, arr)
705 }
706 }
707}
708
709func BenchmarkInt64ArrayScanBytes(b *testing.B) {
710 var a Int64Array

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…