Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support negative argument in (Secure)Random.random_number #2374

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Dec 5, 2024

Don't update the upstream specs until ruby/spec#1222 is merged, so we got a template on how to organize this.

The tests have been copied from SecureRandom.random_number. We should
probably merge these tests upstream.
@herwinw herwinw changed the title Support negative number in (Secure)Random.random_number Support negative argument in (Secure)Random.random_number Dec 5, 2024
@herwinw herwinw merged commit eaab765 into natalie-lang:master Dec 5, 2024
16 checks passed
@herwinw herwinw deleted the random_number_negative_input branch December 5, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants