(t *testing.T)
| 14 | } |
| 15 | |
| 16 | func TestDollar(t *testing.T) { |
| 17 | sql := "x = ? AND y = ?" |
| 18 | s, _ := Dollar.ReplacePlaceholders(sql) |
| 19 | assert.Equal(t, "x = $1 AND y = $2", s) |
| 20 | } |
| 21 | |
| 22 | func TestColon(t *testing.T) { |
| 23 | sql := "x = ? AND y = ?" |
nothing calls this directly
no test coverage detected
searching dependent graphs…