diff --git a/msgpack_test.go b/msgpack_test.go index 21a1cf6..2beb768 100644 --- a/msgpack_test.go +++ b/msgpack_test.go @@ -26,12 +26,16 @@ type MsgpackTest struct { dec *msgpack.Decoder } -func (t *MsgpackTest) SetUpTest() { +func (t *MsgpackTest) SetupTest() { t.buf = &bytes.Buffer{} t.enc = msgpack.NewEncoder(t.buf) t.dec = msgpack.NewDecoder(bufio.NewReader(t.buf)) } +func TestMsgpackTestSuite(t *testing.T) { + suite.Run(t, new(MsgpackTest)) +} + func (t *MsgpackTest) TestDecodeNil() { t.NotNil(t.dec.Decode(nil)) }