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

Function TestExecWith

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

Source from the content-addressed store, hash-verified

55var sqlStr = "SELECT test"
56
57func TestExecWith(t *testing.T) {
58 db := &DBStub{}
59 ExecWith(db, sqlizer)
60 assert.Equal(t, sqlStr, db.LastExecSql)
61}
62
63func TestQueryWith(t *testing.T) {
64 db := &DBStub{}

Callers

nothing calls this directly

Calls 1

ExecWithFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…