Commit e8b53090 authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

Add a Test Case for #359 Array Corruption

parent 1855c7ae
...@@ -243,3 +243,11 @@ assert('Array#to_s', '15.2.12.5.31') do ...@@ -243,3 +243,11 @@ assert('Array#to_s', '15.2.12.5.31') do
end end
# Not ISO specified # Not ISO specified
assert("Array (Shared Array Corruption)") do
a = [ "a", "b", "c", "d", "e", "f" ]
b = a.slice(1, 3)
a.clear
b.clear
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