(t *testing.T)
| 363 | } |
| 364 | |
| 365 | func TestBytesArrayScanNil(t *testing.T) { |
| 366 | arr := BytesArray{{2}, {6}, {0, 0}} |
| 367 | err := arr.Scan(nil) |
| 368 | |
| 369 | if err != nil { |
| 370 | t.Fatalf("Expected no error, got %v", err) |
| 371 | } |
| 372 | if arr != nil { |
| 373 | t.Errorf("Expected nil, got %+v", arr) |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | var BytesArrayStringTests = []struct { |
| 378 | str string |
nothing calls this directly
no test coverage detected
searching dependent graphs…