tunnelrpc/pogs: fix dropped test errors (#1106)
This commit is contained in:
parent
4ddc8d758b
commit
a4a84bb27e
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue