diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-23 17:57:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-23 23:50:42 +0900 |
| commit | d2458e66c26bac5e9db98c22dc6910cb45971b85 (patch) | |
| tree | 086a851c0271d97b0667e6999baa32ce1a6dbed0 /test/t | |
| parent | 497b19ce22e2c48339695b8a9943c21db2f2a7dd (diff) | |
| download | mruby-d2458e66c26bac5e9db98c22dc6910cb45971b85.tar.gz mruby-d2458e66c26bac5e9db98c22dc6910cb45971b85.zip | |
Remove class info from backtrace lines.
Diffstat (limited to 'test/t')
| -rw-r--r-- | test/t/exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/exception.rb b/test/t/exception.rb index 9c8b36e44..ce7b5841e 100644 --- a/test/t/exception.rb +++ b/test/t/exception.rb @@ -398,7 +398,7 @@ assert('GC in rescue') do end rescue => exception GC.start - assert_equal("#{__FILE__}:#{line}:in Object.call", + assert_equal("#{__FILE__}:#{line}:in call", exception.backtrace.first) end end @@ -416,7 +416,7 @@ assert('Method call in rescue') do rescue => exception [3].each do end - assert_equal("#{__FILE__}:#{line}:in Object.call", + assert_equal("#{__FILE__}:#{line}:in call", exception.backtrace.first) end end |
