mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
vm.c: change the default error message for undefined super method.
- (old) `undefined method 'foo'` - (new) `no superclass method 'foo'`
This commit is contained in:
+1
-1
@@ -346,7 +346,7 @@ assert('Kernel#method_missing', '15.3.1.3.30') do
|
||||
end
|
||||
end
|
||||
no_super_test = NoSuperMethodTestClass.new
|
||||
msg = "undefined method 'no_super_method_named_this'"
|
||||
msg = "no superclass method 'no_super_method_named_this'"
|
||||
assert_raise_with_message(NoMethodError, msg) do
|
||||
no_super_test.no_super_method_named_this
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user