(c *C)
| 140 | } |
| 141 | |
| 142 | func (s *RawBinaryClientSuite) TestSendRequest(c *C) { |
| 143 | err := s.client.sendRequest( |
| 144 | opAdd, |
| 145 | testCas, // CAS |
| 146 | []byte(testKey), // key |
| 147 | testValue, // value |
| 148 | testFlags, // flags |
| 149 | testExpiry) // expiry |
| 150 | |
| 151 | c.Assert(err, IsNil) |
| 152 | s.verifyRequestMessage(c, opAdd) |
| 153 | } |
| 154 | |
| 155 | func (s *RawBinaryClientSuite) TestSendRequestKeyTooLong(c *C) { |
| 156 | var key [256]byte |
nothing calls this directly
no test coverage detected