diff options
Diffstat (limited to 'spec/ruby/library/readline/spec_helper.rb')
-rw-r--r-- | spec/ruby/library/readline/spec_helper.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/ruby/library/readline/spec_helper.rb b/spec/ruby/library/readline/spec_helper.rb new file mode 100644 index 0000000000..04ab0f755f --- /dev/null +++ b/spec/ruby/library/readline/spec_helper.rb @@ -0,0 +1,11 @@ +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 |