Browse Source

protocol/packet: renme decoder test

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
bboozzoo/golang
Maciek Borzecki 7 years ago
parent
commit
a38a88406d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      protocol/packet/decoder_test.go

+ 1
- 1
protocol/packet/decoder_test.go View File

@ -19,7 +19,7 @@ import (
"github.com/bboozzoo/mconnect/protocol/packet" "github.com/bboozzoo/mconnect/protocol/packet"
) )
func TestParseFromData(t *testing.T) {
func TestUnmarshal(t *testing.T) {
var p packet.Packet var p packet.Packet
err := packet.Unmarshal([]byte(`foobar`), &p) err := packet.Unmarshal([]byte(`foobar`), &p)
assert.Error(t, err) assert.Error(t, err)


Loading…
Cancel
Save