summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_enum.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_enum.rb b/test/ruby/test_enum.rb
index 660c593..10695cc 100644
--- a/test/ruby/test_enum.rb
+++ b/test/ruby/test_enum.rb
@@ -299,8 +299,8 @@ class TestEnumerable < Test::Unit::TestCase
yield self
end
end
- assert_equal("[...]", e.join(""), '[ruby-core:24150]')
- assert_equal("[...]", [e].join(""), '[ruby-core:24150]')
+ assert_raise(ArgumentError){e.join("")}
+ assert_raise(ArgumentError){[e].join("")}
e = Class.new {
include Enumerable
def initialize(*args)