Skip to content

Commit c27d651

Browse files
committed
fix test on 1.8
1 parent ab5c785 commit c27d651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby-debug/xml_printer_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_print_at_line
6464
Debugger.stop
6565
end
6666
test_path = File.join(Dir.pwd, 'test.rb')
67-
expected = ["<suspended file='#{test_path}' line='1' threadId='1' frames='5'/>"]
67+
expected = ["<suspended file='#{test_path}' line='1' threadId='1' frames='#{RUBY_VERSION < '1.9' ? 4 : 5}'/>"]
6868
assert_equal(expected, interface.data)
6969
end
7070

0 commit comments

Comments
 (0)