class.c (mrb_method_missing): add receiver's class to clarify

We needed to modify a lot of test code that expected the old style.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-11-12 06:37:03 +09:00
parent 13acf12df5
commit 65e0e5bbd3
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ assert('Kernel#method_missing', '15.3.1.3.30') do
end
a = String.new
msg = "undefined method 'no_method_named_this'"
msg = "undefined method 'no_method_named_this' for String"
assert_raise_with_message(NoMethodError, msg) do
a.no_method_named_this
end