diff options
| author | Ethan Werner <mail@ethanwerner.com> | 2026-08-01 20:28:06 +0400 |
|---|---|---|
| committer | Ethan Werner <mail@ethanwerner.com> | 2026-08-01 20:28:06 +0400 |
| commit | e0f9cc69f9f7f524610d65b288eecdbf2ad958d6 (patch) | |
| tree | 3b36862cd732eefce78bf2e4b489a022b5b4dbfb /snowflake_fuzz_test.go | |
| parent | 13d844c130b7d55c8c598842de59391d9c66bc67 (diff) | |
removed error on New()
Diffstat (limited to 'snowflake_fuzz_test.go')
| -rw-r--r-- | snowflake_fuzz_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/snowflake_fuzz_test.go b/snowflake_fuzz_test.go index e527df3..a2ba624 100644 --- a/snowflake_fuzz_test.go +++ b/snowflake_fuzz_test.go @@ -3,7 +3,7 @@ package snowflake import "testing" func FuzzFromString(f *testing.F) { - s, _ := New() + s := New() f.Add(s.String()) f.Add("") f.Add("0") @@ -28,7 +28,7 @@ func FuzzFromString(f *testing.F) { } func FuzzFromHex(f *testing.F) { - s, _ := New() + s := New() f.Add(s.Hex()) f.Add("") f.Add("00") @@ -50,7 +50,7 @@ func FuzzFromHex(f *testing.F) { } func FuzzUnmarshalJSON(f *testing.F) { - s, _ := New() + s := New() serialized, _ := s.MarshalJSON() f.Add(string(serialized)) f.Add(`""`) @@ -76,7 +76,7 @@ func FuzzUnmarshalJSON(f *testing.F) { } func FuzzUnmarshalText(f *testing.F) { - s, _ := New() + s := New() serialized, _ := s.MarshalText() f.Add(string(serialized)) f.Add("") |