Commit c8a7d0ab authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Fix the order of "expected" and "actual" in `test/t/range.rb`

parent 0484bf13
...@@ -101,12 +101,12 @@ end ...@@ -101,12 +101,12 @@ end
assert('Range#dup') do assert('Range#dup') do
r = (1..3).dup r = (1..3).dup
assert_equal r.begin, 1 assert_equal 1, r.begin
assert_equal r.end, 3 assert_equal 3, r.end
assert_false r.exclude_end? assert_false r.exclude_end?
r = ("a"..."z").dup r = ("a"..."z").dup
assert_equal r.begin, "a" assert_equal "a", r.begin
assert_equal r.end, "z" assert_equal "z", r.end
assert_true r.exclude_end? assert_true r.exclude_end?
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