2
0
mirror of synced 2025-02-23 06:08:07 +00:00

Fix peer_protocol test

This commit is contained in:
Matt Joiner 2014-07-18 02:38:32 +10:00
parent efb4c557d2
commit 6da2b7ee00

View File

@ -83,7 +83,7 @@ func TestShortRead(t *testing.T) {
}
msg := new(Message)
err := dec.Decode(msg)
if !strings.Contains(err.Error(), "short read") {
if !strings.Contains(err.Error(), "1 bytes unused in message type 0") {
t.Fatal(err)
}
}