From 3336912f3b8b0dad9d6bc9bf6be1ecc795c23225 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 13 Feb 2026 20:20:45 +0100 Subject: [PATCH] rlp: remove comments in test --- rlp/raw_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rlp/raw_test.go b/rlp/raw_test.go index 104db58533..03e298af8d 100644 --- a/rlp/raw_test.go +++ b/rlp/raw_test.go @@ -229,7 +229,6 @@ func TestRawListAppend(t *testing.T) { func TestRawListAppendRaw(t *testing.T) { var rl RawList[uint64] - // Valid single-value appends. if err := rl.AppendRaw(unhex("01")); err != nil { t.Fatal("AppendRaw(01) failed:", err) } @@ -240,22 +239,15 @@ func TestRawListAppendRaw(t *testing.T) { t.Fatalf("wrong Len %d after valid appends", rl.Len()) } - // Empty input. if err := rl.AppendRaw(nil); err == nil { t.Fatal("AppendRaw(nil) should fail") } - - // Trailing bytes: two values concatenated. if err := rl.AppendRaw(unhex("0102")); err == nil { t.Fatal("AppendRaw(0102) should fail due to trailing bytes") } - - // Truncated value: tag claims more data than present. if err := rl.AppendRaw(unhex("8201")); err == nil { t.Fatal("AppendRaw(8201) should fail due to truncated value") } - - // Len should be unchanged after failed appends. if rl.Len() != 2 { t.Fatalf("wrong Len %d after invalid appends, want 2", rl.Len()) }