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

Don't assume that readline is already loaded and fixed some warnings #162

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

joast
Copy link

@joast joast commented Sep 11, 2022

This was loading lib/readline.rb only if Readline was defined and RbReadline wasn't defined.

"rake test" results get garbled and can cause strange terminal state when minitest "DEPRECATED" warning are output.

This was loading lib/readline.rb only if Readline was defined and
RbReadline wasn't defined.
This gets rid of "DEPRECATED: Use assert_nil if expecting nil from..." warnings.
"ord" has been part of the Integer class for quite sometime. Probably
should just remove this, but maybe someone is still using this with
really old versions of ruby.
@joast joast changed the title Don't assume that readline is already loaded Don't assume that readline is already loaded and fixed some warnings Sep 11, 2022
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.

1 participant