1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/library/readline/spec_helper.rb

12 lines
234 B
Ruby
Raw Normal View History

require_relative '../../spec_helper'
begin
require 'readline'
rescue LoadError
else
# rb-readline and reline behave quite differently
unless defined?(RbReadline) or defined?(Reline)
MSpec.enable_feature :readline
end
end