(c *C)
| 43 | } |
| 44 | |
| 45 | func (s *NumericFieldsSuite) TestShortBasic(c *C) { |
| 46 | t := NewShortFieldDescriptor(false) |
| 47 | c.Check(t.IsNullable(), IsFalse) |
| 48 | c.Check(t.Type(), Equals, mysql_proto.FieldType_SHORT) |
| 49 | } |
| 50 | |
| 51 | func (s *NumericFieldsSuite) TestShortParseValue(c *C) { |
| 52 | t := NewShortFieldDescriptor(true) |
nothing calls this directly
no test coverage detected