(t *testing.T)
| 351 | } |
| 352 | |
| 353 | func TestBytesArrayScanEmpty(t *testing.T) { |
| 354 | var arr BytesArray |
| 355 | err := arr.Scan(`{}`) |
| 356 | |
| 357 | if err != nil { |
| 358 | t.Fatalf("Expected no error, got %v", err) |
| 359 | } |
| 360 | if arr == nil || len(arr) != 0 { |
| 361 | t.Errorf("Expected empty, got %#v", arr) |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | func TestBytesArrayScanNil(t *testing.T) { |
| 366 | arr := BytesArray{{2}, {6}, {0, 0}} |
nothing calls this directly
no test coverage detected
searching dependent graphs…