(c *gc.C)
| 421 | } |
| 422 | |
| 423 | func (s *ExprSuite) TestBitwiseOr(c *gc.C) { |
| 424 | clause := BitOr(Literal(1), Literal(2)) |
| 425 | |
| 426 | buf := &bytes.Buffer{} |
| 427 | |
| 428 | err := clause.SerializeSql(buf) |
| 429 | c.Assert(err, gc.IsNil) |
| 430 | |
| 431 | sql := buf.String() |
| 432 | c.Assert(sql, gc.Equals, "1 | 2") |
| 433 | } |
| 434 | |
| 435 | func (s *ExprSuite) TestBitwiseAnd(c *gc.C) { |
| 436 | clause := BitAnd(Literal(1), Literal(2)) |
nothing calls this directly
no test coverage detected