(t *testing.T)
| 692 | } |
| 693 | |
| 694 | func 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 | |
| 709 | func BenchmarkInt64ArrayScanBytes(b *testing.B) { |
| 710 | var a Int64Array |
nothing calls this directly
no test coverage detected
searching dependent graphs…