From 85be26c675b05a2a75c856f7c22b446d8df1c944 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Sun, 28 Jan 2018 22:02:46 -0700 Subject: [PATCH] common: BitArray: feedback from @adrianbrink to simplify tests --- common/bit_array_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/bit_array_test.go b/common/bit_array_test.go index 9a787e441..e4ac8bf6f 100644 --- a/common/bit_array_test.go +++ b/common/bit_array_test.go @@ -175,10 +175,9 @@ func TestUpdateNeverPanics(t *testing.T) { }{ {nil, nil}, {newRandBitArray(10), newRandBitArray(12)}, - {newRandBitArray(0), NewBitArray(10)}, + {newRandBitArray(23), newRandBitArray(23)}, + {newRandBitArray(37), nil}, {nil, NewBitArray(10)}, - {nil, newRandBitArray(64)}, - {newRandBitArray(63), newRandBitArray(64)}, } for _, pair := range pairs {