Sha256: 7f616fb0e487d754093cf4f4257ca66f0d1ffa41d0fbd63d732354b4af18d8c6

Contents?: true

Size: 702 Bytes

Versions: 4

Compression:

Stored size: 702 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require_relative 'helper'

class TestQuit < Test::Unit::TestCase
    @@NAME = File.basename(__FILE__, '.rb')[5..-1]

    # def test_trepanx_set_confirm_off
    #   opts = {}
    #   opts[:filter] = Proc.new{|got_lines, correct_lines|
    #     got_lines[0] = "-> (null.rb:1 @0)\n"
    #   }
    #   assert_equal(true, run_debugger('quit2', 'null.rb', opts))
    # end

    def test_trepan_quit
        skip "Can't run from rake" if __FILE__ != $0
        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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trepanning-2.15.35 test/integration/test-quit.rb
trepanning-1.93.35 test/integration/test-quit.rb
trepanning-2.15.33 test/integration/test-quit.rb
trepanning-1.93.32 test/integration/test-quit.rb