Unverified Commit 9add4a66 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4561 from shuujii/fix-the-order-of-expected-and-actual-in-test-t-range.rb

Fix the order of "expected" and "actual" in `test/t/range.rb`
parents 0484bf13 c8a7d0ab
......@@ -101,12 +101,12 @@ end
assert('Range#dup') do
r = (1..3).dup
assert_equal r.begin, 1
assert_equal r.end, 3
assert_equal 1, r.begin
assert_equal 3, r.end
assert_false r.exclude_end?
r = ("a"..."z").dup
assert_equal r.begin, "a"
assert_equal r.end, "z"
assert_equal "a", r.begin
assert_equal "z", r.end
assert_true r.exclude_end?
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