(t *testing.T)
| 659 | } |
| 660 | |
| 661 | func TestInt64ArrayScanEmpty(t *testing.T) { |
| 662 | var arr Int64Array |
| 663 | err := arr.Scan(`{}`) |
| 664 | |
| 665 | if err != nil { |
| 666 | t.Fatalf("Expected no error, got %v", err) |
| 667 | } |
| 668 | if arr == nil || len(arr) != 0 { |
| 669 | t.Errorf("Expected empty, got %#v", arr) |
| 670 | } |
| 671 | } |
| 672 | |
| 673 | func TestInt64ArrayScanNil(t *testing.T) { |
| 674 | arr := Int64Array{5, 5, 5} |
nothing calls this directly
no test coverage detected
searching dependent graphs…