summaryrefslogtreecommitdiffhomepage
path: root/noise_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'noise_test.go')
-rw-r--r--noise_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/noise_test.go b/noise_test.go
index d5b1011..3da36e9 100644
--- a/noise_test.go
+++ b/noise_test.go
@@ -58,6 +58,7 @@ func TestNoiseHandshake(t *testing.T) {
packet := make([]byte, 0, 256)
writer := bytes.NewBuffer(packet)
err = binary.Write(writer, binary.LittleEndian, msg1)
+ assertNil(t, err)
peer := dev2.ConsumeMessageInitiation(msg1)
if peer == nil {
t.Fatal("handshake failed at initiation message")