You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If quick.Check generates a byte slice that starts with 0x0, then SetBytes accepts this slice, but Bytes correctly returns the slice without the leading zero. This makes the test fail.
The text was updated successfully, but these errors were encountered:
For context: I see this issue with my GopherJS compiler, since for some reason it generates different values with math/rand which affects testing/quick.
If
quick.Check
generates a byte slice that starts with0x0
, thenSetBytes
accepts this slice, butBytes
correctly returns the slice without the leading zero. This makes the test fail.The text was updated successfully, but these errors were encountered: