Unverified Commit c76dc331 authored by ksss's avatar ksss

Add frozen test for Array#shift

parent e581f2ed
......@@ -284,6 +284,8 @@ assert('Array#shift', '15.2.12.5.27') do
assert_nil([].shift)
assert_equal([2,3], a)
assert_equal(1, b)
assert_raise(RuntimeError) { [].freeze.shift }
end
assert('Array#size', '15.2.12.5.28') do
......
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