diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2024-02-15 14:23:01 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-02-15 19:11:58 +0900 |
commit | 9d1b000bd1bb747bcc49e2d7677fb7c2b31c5a94 (patch) | |
tree | ce3568e37e47e6106567c6ac7e0a981bc59627a9 /test/-ext-/test_bug-3571.rb | |
parent | 61819c87b29f3267d6a2499d9018f09cd5bcf2c4 (diff) |
Show the method owner in backtraces
```
test.rb:1:in 'Object#toplevel_meth': unhandled exception
from test.rb:4:in 'Foo.class_meth'
from test.rb:6:in 'Foo#instance_meth'
from test.rb:11:in 'singleton_meth'
from test.rb:13:in '<main>'
```
[Feature #19117]
Diffstat (limited to 'test/-ext-/test_bug-3571.rb')
-rw-r--r-- | test/-ext-/test_bug-3571.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/test_bug-3571.rb b/test/-ext-/test_bug-3571.rb index 9e8c5cfe5c..5952ce2a33 100644 --- a/test/-ext-/test_bug-3571.rb +++ b/test/-ext-/test_bug-3571.rb @@ -13,7 +13,7 @@ end SRC out = [ "start() function is unimplemented on this machine", - "-:2:in 'start'", + "-:2:in 'Bug.start'", "-:2:in '<main>'", ] assert_in_out_err(%w"-r-test-/bug_3571", src, [], out, bug3571) |