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

Function TestQuestion

placeholder_test.go:10–14  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestQuestion(t *testing.T) {
11 sql := "x = ? AND y = ?"
12 s, _ := Question.ReplacePlaceholders(sql)
13 assert.Equal(t, sql, s)
14}
15
16func TestDollar(t *testing.T) {
17 sql := "x = ? AND y = ?"

Callers

nothing calls this directly

Calls 1

ReplacePlaceholdersMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…