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 7101d33012..98acfe9d29 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1565,7 +1565,7 @@ class TestArray < Test::Unit::TestCase a << a assert_raise(ArgumentError){a.join} - def (a = Object.new).to_a + def (a = Object.new).to_ary [self] end assert_raise(ArgumentError, '[ruby-core:24150]'){[a].join} |
