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

Function TestWherePartErr

where_test.go:34–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

32}
33
34func TestWherePartErr(t *testing.T) {
35 _, _, err := newWherePart(1).ToSql()
36 assert.Error(t, err)
37}
38
39func TestWherePartString(t *testing.T) {
40 sql, args, _ := newWherePart("x = ?", 1).ToSql()

Callers

nothing calls this directly

Calls 2

newWherePartFunction · 0.85
ToSqlMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…