From a4a84bb27e663c8010679bb7f0d791582ed7d6ff Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Thu, 14 Dec 2023 08:29:16 -0800 Subject: [PATCH] tunnelrpc/pogs: fix dropped test errors (#1106) --- tunnelrpc/pogs/auth_test.go | 1 + tunnelrpc/pogs/tunnelrpc_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/tunnelrpc/pogs/auth_test.go b/tunnelrpc/pogs/auth_test.go index 40db1ef7..31377753 100644 --- a/tunnelrpc/pogs/auth_test.go +++ b/tunnelrpc/pogs/auth_test.go @@ -118,6 +118,7 @@ func TestSerializeAuthenticationResponse(t *testing.T) { for i, testCase := range tests { _, seg, err := capnp.NewMessage(capnp.SingleSegment(nil)) + assert.NoError(t, err) capnpEntity, err := tunnelrpc.NewAuthenticateResponse(seg) if !assert.NoError(t, err) { t.Fatal("Couldn't initialize a new message") diff --git a/tunnelrpc/pogs/tunnelrpc_test.go b/tunnelrpc/pogs/tunnelrpc_test.go index 372c69f3..12812046 100644 --- a/tunnelrpc/pogs/tunnelrpc_test.go +++ b/tunnelrpc/pogs/tunnelrpc_test.go @@ -38,6 +38,7 @@ func TestTunnelRegistration(t *testing.T) { } for i, testCase := range testCases { _, seg, err := capnp.NewMessage(capnp.SingleSegment(nil)) + assert.NoError(t, err) capnpEntity, err := tunnelrpc.NewTunnelRegistration(seg) if !assert.NoError(t, err) { t.Fatal("Couldn't initialize a new message")