(c *gc.C)
| 314 | } |
| 315 | |
| 316 | func (s *ExprSuite) TestInExprEmptyList(c *gc.C) { |
| 317 | values := []int32{} |
| 318 | expr := In(table1Col1, values) |
| 319 | |
| 320 | buf := &bytes.Buffer{} |
| 321 | |
| 322 | err := expr.SerializeSql(buf) |
| 323 | c.Assert(err, gc.IsNil) |
| 324 | |
| 325 | sql := buf.String() |
| 326 | c.Assert(sql, gc.Equals, "FALSE") |
| 327 | } |
| 328 | |
| 329 | func (s *ExprSuite) TestSqlFuncExprNilInArgList(c *gc.C) { |
| 330 | expr := SqlFunc("rand", nil) |
nothing calls this directly
no test coverage detected