test/integration/test-quit.rb in trepanning-0.0.9 vs test/integration/test-quit.rb in trepanning-0.1.0
- old
+ new
@@ -3,9 +3,13 @@
require_relative 'helper'
class TestQuit < Test::Unit::TestCase
@@NAME = File.basename(__FILE__, '.rb')[5..-1]
- def test_it
- assert_equal(true, run_debugger(@@NAME, 'null.rb'))
+ def test_trepan_call
+ opts = {}
+ opts[:filter] = Proc.new{|got_lines, correct_lines|
+ got_lines[0] = "-> (null.rb:1 @0)\n"
+ }
+ assert_equal(true, run_debugger(@@NAME, 'null.rb', opts))
end
end