ruby/spec/rubyspec/library/readline/spec_helper.rb
eregon 2bdce358e6 Update to ruby/spec@cd1b911
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15 12:48:52 +00:00

11 lines
226 B
Ruby

require File.expand_path('../../../spec_helper', __FILE__)
begin
require 'readline'
rescue LoadError
else
# rb-readline behaves quite differently
unless defined?(RbReadline)
MSpec.enable_feature :readline
end
end