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:
parent
bd123d9674
commit
ce25a5e476
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue