test/functional/test-break.rb in trepanning-0.1.0 vs test/functional/test-break.rb in trepanning-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
require 'test/unit'
require_relative 'fn_helper'
-class TestBreak2 < Test::Unit::TestCase
+class TestBreak < Test::Unit::TestCase
include FnTestHelper
def test_line_only_break
# Check that we can set breakpoints in parent, sibling and children
@@ -29,15 +29,15 @@
end
##############################
d.stop # ({:remove => true})
out = ["-- ",
"1.times do # line + 10",
- "Breakpoint 1 set at line 55 in file foo.rb,
-\tVM offset 55 of instruction sequence \"test_line_only_break\".",
- "Breakpoint 2 set at line 55 in file foo.rb,
-\tVM offset 55 of instruction sequence \"block (2 levels) in test_line_only_break\".",
- "Breakpoint 3 set at line 55 in file foo.rb,
-\tVM offset 55 of instruction sequence \"block in test_line_only_break\".",
+ "Breakpoint 1 set at VM offset 55 of instruction sequence \"test_line_only_break\",
+\tline 55 in file foo.rb",
+ "Breakpoint 2 set at VM offset 55 of instruction sequence \"block (2 levels) in test_line_only_break\",
+\tline 55 in file foo.rb",
+ "Breakpoint 3 set at VM offset 55 of instruction sequence \"block in test_line_only_break\",
+\tline 55 in file foo.rb",
"xx ",
"x = 11 # line + 11",
"xx ",
"c = 14 # line + 14"]
compare_output(out, d, cmds)