Actions
Bug #6025
closedIRB test: failure caused by non-guarded completion test
Description
Hello,
While testing for 1.9.3-p105 release, found the following test fail:
65) Failure: test_nonstring_module_name(TestIRB::TestCompletion) [C:/Users/Luis/Projects/oss/ruby/test/irb/test_completion.rb:13]: [ruby-core:42244]. <[]> expected but was <["C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require': cannot load such file -- readline (LoadError)", "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'", "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/irb/completion.rb:9:in `'", "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'", "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'"]>.
RubyInstaller builds do not include GNU Readline and instead uses rb-readline replacement.
It fails to load it's replacement and because of that, fails to load and complete the test.
A guard against it perhaps needs to be implemented.
Ruby 1.9.3-p0 did not present this failure.
Thank you
Actions
Like0
Like0