summaryrefslogtreecommitdiff
path: root/test/ruby/test_nomethod_error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_nomethod_error.rb')
-rw-r--r--test/ruby/test_nomethod_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_nomethod_error.rb b/test/ruby/test_nomethod_error.rb
index 321b7ccab2..6d413e6391 100644
--- a/test/ruby/test_nomethod_error.rb
+++ b/test/ruby/test_nomethod_error.rb
@@ -85,7 +85,7 @@ class TestNoMethodError < Test::Unit::TestCase
bug3237 = '[ruby-core:29948]'
str = "\u2600"
id = :"\u2604"
- msg = "undefined method `#{id}' for \"#{str}\":String"
+ msg = "undefined method '#{id}' for an instance of String"
assert_raise_with_message(NoMethodError, Regexp.compile(Regexp.quote(msg)), bug3237) do
str.__send__(id)
end