aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 1139e36900..234fb238a2 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -479,7 +479,7 @@ class TestArray < Test::Unit::TestCase
# Ruby 1.9 feature change:
# Enumerable#collect without block returns an Enumerator.
#assert_equal([1, 2, 3], @cls[1, 2, 3].collect)
- assert_kind_of Enumerable::Enumerator, @cls[1, 2, 3].collect
+ assert_kind_of Enumerator, @cls[1, 2, 3].collect
end
# also update map!