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 {
|
for i, testCase := range tests {
|
||||||
_, seg, err := capnp.NewMessage(capnp.SingleSegment(nil))
|
_, seg, err := capnp.NewMessage(capnp.SingleSegment(nil))
|
||||||
|
assert.NoError(t, err)
|
||||||
capnpEntity, err := tunnelrpc.NewAuthenticateResponse(seg)
|
capnpEntity, err := tunnelrpc.NewAuthenticateResponse(seg)
|
||||||
if !assert.NoError(t, err) {
|
if !assert.NoError(t, err) {
|
||||||
t.Fatal("Couldn't initialize a new message")
|
t.Fatal("Couldn't initialize a new message")
|
||||||
|
|
|
@ -38,6 +38,7 @@ func TestTunnelRegistration(t *testing.T) {
|
||||||
}
|
}
|
||||||
for i, testCase := range testCases {
|
for i, testCase := range testCases {
|
||||||
_, seg, err := capnp.NewMessage(capnp.SingleSegment(nil))
|
_, seg, err := capnp.NewMessage(capnp.SingleSegment(nil))
|
||||||
|
assert.NoError(t, err)
|
||||||
capnpEntity, err := tunnelrpc.NewTunnelRegistration(seg)
|
capnpEntity, err := tunnelrpc.NewTunnelRegistration(seg)
|
||||||
if !assert.NoError(t, err) {
|
if !assert.NoError(t, err) {
|
||||||
t.Fatal("Couldn't initialize a new message")
|
t.Fatal("Couldn't initialize a new message")
|
||||||
|
|
Loading…
Reference in New Issue