diff options
-rw-r--r-- | test/ruby/test_backtrace.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -223,15 +223,15 @@ class TestBacktrace < Test::Unit::TestCase @res = caller_locations(2, 1).inspect end @line = __LINE__ + 1 - [1].map!.map { [1].map!.map { foo } } - assert_equal("[\"#{__FILE__}:#{@line}:in 'Array#map!'\"]", @res) end def test_caller_location_path_cfunc_iseq_no_pc def self.foo @res = caller_locations(2, 1)[0].path end - [1].map!.map { [1].map!.map { foo } } assert_equal(__FILE__, @res) end |