diff options
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r-- | test/ruby/test_array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index a19e22aab4..bdb603bec5 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1488,7 +1488,7 @@ class TestArray < Test::Unit::TestCase 1 } } - o2 = o1.dup + o2 = o1.clone ary << o1 << o2 orig = ary.dup assert_raise(RuntimeError, "frozen during comparison") {ary.sort!} |