diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-01 08:42:30 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-01 08:42:30 +0900 |
| commit | bda242a1356e8208164265a9e44cd9164a7bb2bd (patch) | |
| tree | 170f1821649de10e611d9fa29933326c87401057 /test | |
| parent | d5a4d5e393db68b98ecbd763008e1bffb84f1bfd (diff) | |
| download | mruby-bda242a1356e8208164265a9e44cd9164a7bb2bd.tar.gz mruby-bda242a1356e8208164265a9e44cd9164a7bb2bd.zip | |
vm.c: change the default error message for undefined `super` method.
- (old) `undefined method 'foo'`
- (new) `no superclass method 'foo'`
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/kernel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/kernel.rb b/test/t/kernel.rb index cab1ddd3d..0a70ec0d2 100644 --- a/test/t/kernel.rb +++ b/test/t/kernel.rb @@ -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 |
