From ab835b78704f35e93d54a10305b5ed42d60fdb5e Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 23 Oct 2024 11:36:06 +0200 Subject: [PATCH] Uncomment seed data in FuzzBase64LineBreaker The previously commented-out empty byte array is now uncommented to include an empty string as part of the test cases. This change ensures that the FuzzBase64LineBreaker function properly handles an empty input scenario. --- b64linebreaker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b64linebreaker_test.go b/b64linebreaker_test.go index 370fa41..9f88c7e 100644 --- a/b64linebreaker_test.go +++ b/b64linebreaker_test.go @@ -219,7 +219,7 @@ func (w *mockWriterNewline) Write(p []byte) (n int, err error) { func FuzzBase64LineBreaker(f *testing.F) { seedData := [][]byte{ - //[]byte(""), + []byte(""), []byte("abc"), []byte("def"), []byte("Hello, World!"),