Skip to content

Commit

Permalink
tunnelrpc/pogs: fix dropped test errors (#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs authored Dec 14, 2023
1 parent 4ddc8d7 commit a4a84bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tunnelrpc/pogs/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions tunnelrpc/pogs/tunnelrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a4a84bb

Please sign in to comment.