(c *gc.C)
| 469 | } |
| 470 | |
| 471 | func (s *ExprSuite) TestMinus(c *gc.C) { |
| 472 | clause := Minus(Literal(1), Literal(2)) |
| 473 | |
| 474 | buf := &bytes.Buffer{} |
| 475 | |
| 476 | err := clause.SerializeSql(buf) |
| 477 | c.Assert(err, gc.IsNil) |
| 478 | |
| 479 | sql := buf.String() |
| 480 | c.Assert(sql, gc.Equals, "1 - 2") |
| 481 | } |
| 482 | |
| 483 | func (s *ExprSuite) TestInterval(c *gc.C) { |
| 484 | testTable := []struct { |
nothing calls this directly
no test coverage detected