MCPcopy
hub / github.com/Masterminds/squirrel / TestRowScan

Function TestRowScan

row_test.go:19–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

17}
18
19func 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
27func TestRowScanErr(t *testing.T) {
28 stub := &RowStub{}

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…