summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-05-23 17:57:28 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-05-23 23:50:42 +0900
commitd2458e66c26bac5e9db98c22dc6910cb45971b85 (patch)
tree086a851c0271d97b0667e6999baa32ce1a6dbed0 /test
parent497b19ce22e2c48339695b8a9943c21db2f2a7dd (diff)
downloadmruby-d2458e66c26bac5e9db98c22dc6910cb45971b85.tar.gz
mruby-d2458e66c26bac5e9db98c22dc6910cb45971b85.zip
Remove class info from backtrace lines.
Diffstat (limited to 'test')
-rw-r--r--test/t/exception.rb4
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