change test suite which related to last commit

This commit is contained in:
Watson
2012-09-24 11:55:50 +09:00
parent 680e085105
commit c9fafe8365

View File

@@ -24,11 +24,11 @@ class TestRange < Test::Unit::TestCase
assert_equal([:a, :b], (:a .. :b).to_a)
end
# def test_evaluation_order
# arr = [1,2]
# r = (arr.shift)..(arr.shift)
# assert_equal(1..2, r, "[ruby-dev:26383]")
# end
def test_evaluation_order
arr = [1,2]
r = (arr.shift)..(arr.shift)
assert_equal(1..2, r, "[ruby-dev:26383]")
end
class DuckRange
def initialize(b,e,excl=false)