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
This is probably directly a consequence of having srand called on extra time as described from #194 but as you can see when calling multiple times (in the same day), that one-liner, it will always return the same integer, which shows that srand is set whereas we expect to disable it...
╰─> perl -E 'use Test2::Bundle::Extended -no_srand; say int(rand(2**31))'
1522918509
╰─> perl -E 'use Test2::Bundle::Extended -no_srand; say int(rand(2**31))'
1522918509
The text was updated successfully, but these errors were encountered:
ResolvesTest-More#195
When -no_srand is passed as an argument we should
check for 'defined' and not use the return value
of delete which returns the value for it, 'undef'
as default.
This is probably directly a consequence of having srand called on extra time as described from #194 but as you can see when calling multiple times (in the same day), that one-liner, it will always return the same integer, which shows that srand is set whereas we expect to disable it...
The text was updated successfully, but these errors were encountered: