summaryrefslogtreecommitdiff
path: root/test/ruby/test_backtrace.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_backtrace.rb28
1 files changed, 28 insertions, 0 deletions
@@ -170,6 +170,34 @@ class TestBacktrace < Test::Unit::TestCase
end
end
def test_caller_locations
cs = caller(0); locs = caller_locations(0).map{|loc|
loc.to_s