diff options
author | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-03-09 19:37:15 -0300 |
---|---|---|
committer | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-03-10 00:01:28 -0300 |
commit | 4482640fadbbb422db05d89ddbe82b97a945e999 (patch) | |
tree | 975da34adef1eddeda635ade343ac3dda2b90c79 /spec | |
parent | b2f8820a5b1539c16ce0e6005f382a3abcfef76d (diff) | |
download | pry-4482640fadbbb422db05d89ddbe82b97a945e999.tar.gz |
Remove more 1.9 related workarounds
Diffstat (limited to 'spec')
-rw-r--r-- | spec/exception_handler_spec.rb | 2 | ||||
-rw-r--r-- | spec/integration/hanami_spec.rb | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/spec/exception_handler_spec.rb b/spec/exception_handler_spec.rb index b1608509..c9f082f6 100644 --- a/spec/exception_handler_spec.rb +++ b/spec/exception_handler_spec.rb @@ -47,7 +47,7 @@ RSpec.describe Pry::ExceptionHandler do end before do - if RUBY_VERSION.start_with?('1.9', '2.0') + if RUBY_VERSION.start_with?('2.0') skip("Ruby #{RUBY_VERSION} doesn't support nested exceptions") end end diff --git a/spec/integration/hanami_spec.rb b/spec/integration/hanami_spec.rb index 5fae6ef8..71f89ab9 100644 --- a/spec/integration/hanami_spec.rb +++ b/spec/integration/hanami_spec.rb @@ -10,9 +10,6 @@ RSpec.describe "Hanami integration" do end it "does not enter an infinite loop (#1471, #1621)" do - if RUBY_VERSION.start_with? "1.9" - skip "prepend is not supported on this version of Ruby" - end code = <<-RUBY require "pry" require "timeout" |