diff options
Diffstat (limited to 'core/core_test.go')
-rw-r--r-- | core/core_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/core_test.go b/core/core_test.go index 682309d..e80f97c 100644 --- a/core/core_test.go +++ b/core/core_test.go @@ -207,9 +207,9 @@ func TestFullBuffer(t *testing.T) { vppReply := <-ctx.ch.ReplyChan Expect(vppReply).ShouldNot(BeNil()) - received := false + var received bool select { - case vppReply = <-ctx.ch.ReplyChan: + case <-ctx.ch.ReplyChan: received = true // this should not happen default: received = false // no reply to be received |