mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user