summaryrefslogtreecommitdiff
path: root/spec/ruby/core/range/eql_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/range/eql_spec.rb')
-rw-r--r--spec/ruby/core/range/eql_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/range/eql_spec.rb b/spec/ruby/core/range/eql_spec.rb
index c62fa0076e..fa6c71840e 100644
--- a/spec/ruby/core/range/eql_spec.rb
+++ b/spec/ruby/core/range/eql_spec.rb
@@ -5,6 +5,6 @@ describe "Range#eql?" do
it_behaves_like :range_eql, :eql?
it "returns false if the endpoints are not eql?" do
- (0..1).send(@method, 0..1.0).should == false
+ (0..1).should_not eql(0..1.0)
end
end