From a05c0343133f49393087c7502379fea118985ee4 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 16 May 2025 21:42:40 -0400 Subject: [PATCH] tape: Clean up --- tape/types.go | 1 - tape/types_test.go | 1 - 2 files changed, 2 deletions(-) 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())