aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer/gt_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/integer/gt_spec.rb')
-rw-r--r--spec/ruby/core/integer/gt_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/ruby/core/integer/gt_spec.rb b/spec/ruby/core/integer/gt_spec.rb
index 428a6f6888..f0179e566d 100644
--- a/spec/ruby/core/integer/gt_spec.rb
+++ b/spec/ruby/core/integer/gt_spec.rb
@@ -2,13 +2,7 @@ require_relative '../../spec_helper'
require_relative 'shared/comparison_coerce'
describe "Integer#>" do
- ruby_version_is "2.4"..."2.5" do
- it_behaves_like :integer_comparison_coerce_rescue, :>
- end
-
- ruby_version_is "2.5" do
- it_behaves_like :integer_comparison_coerce_not_rescue, :>
- end
+ it_behaves_like :integer_comparison_coerce_not_rescue, :>
context "fixnum" do
it "returns true if self is greater than the given argument" do