diff options
Diffstat (limited to 'pkg/p9/transport_test.go')
-rw-r--r-- | pkg/p9/transport_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/p9/transport_test.go b/pkg/p9/transport_test.go index 3352a5205..b7b7825bd 100644 --- a/pkg/p9/transport_test.go +++ b/pkg/p9/transport_test.go @@ -180,5 +180,5 @@ func TestSendClosed(t *testing.T) { } func init() { - register(&badDecode{}) + register(MsgTypeBadDecode, func() message { return &badDecode{} }) } |