Commit 2e9b2ccf authored by Jun Hiroe's avatar Jun Hiroe

Add Range#eql? test case.

parent 997c0736
......@@ -77,5 +77,6 @@ end
assert('Range#eql?', '15.2.14.4.14') do
assert_true (1..10).eql? (1..10)
assert_false (1..10).eql? (1..100)
assert_false (1..10).eql? (Range.new(1.0, 10.0))
assert_false (1..10).eql? "1..10"
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment