(c *gc.C)
| 202 | } |
| 203 | |
| 204 | func (s *ExprSuite) TestEqExpr(c *gc.C) { |
| 205 | expr := EqL(table1Col1, 321) |
| 206 | |
| 207 | buf := &bytes.Buffer{} |
| 208 | |
| 209 | err := expr.SerializeSql(buf) |
| 210 | c.Assert(err, gc.IsNil) |
| 211 | |
| 212 | sql := buf.String() |
| 213 | c.Assert(sql, gc.Equals, "`table1`.`col1`=321") |
| 214 | } |
| 215 | |
| 216 | func (s *ExprSuite) TestEqExprNilLHS(c *gc.C) { |
| 217 | expr := EqL(table1Col1, nil) |
nothing calls this directly
no test coverage detected