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

Function TestQueryRowWith

squirrel_test.go:69–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

67}
68
69func TestQueryRowWith(t *testing.T) {
70 db := &DBStub{}
71 QueryRowWith(db, sqlizer)
72 assert.Equal(t, sqlStr, db.LastQueryRowSql)
73}
74
75func TestWithToSqlErr(t *testing.T) {
76 db := &DBStub{}

Callers

nothing calls this directly

Calls 1

QueryRowWithFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…