1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

fix build on MRI1.9, 2.0.0

This commit is contained in:
Robert Gleeson 2014-02-03 13:09:11 +01:00
parent bd123d9674
commit ce25a5e476

View file

@ -8,7 +8,7 @@ end
describe 'Bond-based completion' do
it "should use Bond if it's available" do
if defined?(Bond) && Readline::VERSION !~ /editline/i
if defined?(Bond) && defined?(Readline) && Readline::VERSION !~ /editline/i
Pry.config.completer.should == Pry::BondCompleter
else
Pry.config.completer.should == Pry::InputCompleter