We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab5c785 commit c27d651Copy full SHA for c27d651
test/ruby-debug/xml_printer_test.rb
@@ -64,7 +64,7 @@ def test_print_at_line
64
Debugger.stop
65
end
66
test_path = File.join(Dir.pwd, 'test.rb')
67
- expected = ["<suspended file='#{test_path}' line='1' threadId='1' frames='5'/>"]
+ expected = ["<suspended file='#{test_path}' line='1' threadId='1' frames='#{RUBY_VERSION < '1.9' ? 4 : 5}'/>"]
68
assert_equal(expected, interface.data)
69
70
0 commit comments