diff --git a/tape/types.go b/tape/types.go index 55a19ec..82a0a15 100644 --- a/tape/types.go +++ b/tape/types.go @@ -129,7 +129,6 @@ func EncodeGBEU[T UInt] (buffer []byte, value T) (error) { chunk := uint8(value >> window) & 0x7F if window > 0 { chunk |= 0x80 - } else { } buffer[index] = chunk diff --git a/tape/types_test.go b/tape/types_test.go index e80b23b..5c684d9 100644 --- a/tape/types_test.go +++ b/tape/types_test.go @@ -174,7 +174,6 @@ func TestGBEU(test *testing.T) { test.Fatalf("not equal: %x", got) } - for _ = range largeNumberNTestRounds { buffer = [16]byte { } number := uint64(rand.Int())