summaryrefslogtreecommitdiff
path: root/spec/ruby/core/range/eql_spec.rb
blob: fa6c71840e9ca4834aa4312d28907d8ba7de61b4 (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../spec_helper'
require_relative 'shared/equal_value'

describe "Range#eql?" do
  it_behaves_like :range_eql, :eql?

  it "returns false if the endpoints are not eql?" do
    (0..1).should_not eql(0..1.0)
  end
end