(c *gc.C)
| 445 | } |
| 446 | |
| 447 | func (s *ExprSuite) TestBitwiseXor(c *gc.C) { |
| 448 | clause := BitXor(Literal(1), Literal(2)) |
| 449 | |
| 450 | buf := &bytes.Buffer{} |
| 451 | |
| 452 | err := clause.SerializeSql(buf) |
| 453 | c.Assert(err, gc.IsNil) |
| 454 | |
| 455 | sql := buf.String() |
| 456 | c.Assert(sql, gc.Equals, "1 ^ 2") |
| 457 | } |
| 458 | |
| 459 | func (s *ExprSuite) TestPlus(c *gc.C) { |
| 460 | clause := Plus(Literal(1), Literal(2)) |
nothing calls this directly
no test coverage detected