(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestRowScan(t *testing.T) { |
| 20 | stub := &RowStub{} |
| 21 | row := &Row{RowScanner: stub} |
| 22 | err := row.Scan() |
| 23 | assert.True(t, stub.Scanned, "row was not scanned") |
| 24 | assert.NoError(t, err) |
| 25 | } |
| 26 | |
| 27 | func TestRowScanErr(t *testing.T) { |
| 28 | stub := &RowStub{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…