(t *testing.T)
| 37 | } |
| 38 | |
| 39 | func TestWherePartString(t *testing.T) { |
| 40 | sql, args, _ := newWherePart("x = ?", 1).ToSql() |
| 41 | assert.Equal(t, "x = ?", sql) |
| 42 | assert.Equal(t, []interface{}{1}, args) |
| 43 | } |
| 44 | |
| 45 | func TestWherePartMap(t *testing.T) { |
| 46 | test := func(pred interface{}) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…