diff --git a/spec/sticky_locals_spec.rb b/spec/sticky_locals_spec.rb index 6ba42b14..6380b339 100644 --- a/spec/sticky_locals_spec.rb +++ b/spec/sticky_locals_spec.rb @@ -29,13 +29,8 @@ describe "Sticky locals (_file_ and friends)" do input '_ex_.message == "halp"' output '=> true' - if Pry::Helpers::BaseHelpers.mri_20? || Pry::Helpers::BaseHelpers.mri_21? - input 'Kernel.instance_method(:class).bind(_ex_).call' - output '=> RuntimeError' - end - - input '_ex_.wrapped_exception' - output /NoMethodError/ + input 'Kernel.instance_method(:class).bind(_ex_).call' + output '=> RuntimeError' end end