(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func TestInsertBuilderMustSql(t *testing.T) { |
| 41 | defer func() { |
| 42 | if r := recover(); r == nil { |
| 43 | t.Errorf("TestInsertBuilderMustSql should have panicked!") |
| 44 | } |
| 45 | }() |
| 46 | Insert("").MustSql() |
| 47 | } |
| 48 | |
| 49 | func TestInsertBuilderPlaceholders(t *testing.T) { |
| 50 | b := Insert("test").Values(1, 2) |