test/functional/test-condition.rb in trepanning-0.1.0 vs test/functional/test-condition.rb in trepanning-0.1.1
- old
+ new
@@ -25,12 +25,12 @@
##############################
d.stop
out = ['-- ',
'x = 6',
'basename is on.',
- "Breakpoint 1 set at line 55 in file foo.rb,
-\tVM offset 55 of instruction sequence \"test_condition\"."]
+ "Breakpoint 1 set at VM offset 55 of instruction sequence \"test_condition\",
+\tline 55 in file foo.rb"]
compare_output(out, d, cmds)
# Try a condition that fails
cmds = ['set basename on',
'break ' + (__LINE__ + 7).to_s,
@@ -45,11 +45,11 @@
##############################
d.stop
out = ["-- ",
"x = 6",
"basename is on.",
- "Breakpoint 1 set at line 55 in file foo.rb,
-\tVM offset 55 of instruction sequence \"test_condition\".",
+ "Breakpoint 1 set at VM offset 55 of instruction sequence \"test_condition\",
+\tline 55 in file foo.rb",
"xx ",
"y = 7"]
compare_output(out, d, cmds)
end