test/test-catch.rb in debugger-1.0.0 vs test/test-catch.rb in debugger-1.0.1
- old
+ new
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
require 'test/unit'
-# begin require 'rubygems' rescue LoadError end
# require 'ruby-debug'; Debugger.start
# Test exception catching
class TestExceptionCatch < Test::Unit::TestCase
@@ -13,10 +12,10 @@
require File.join(@@SRC_DIR, 'helper')
include TestHelper
def test_basic
testname='catch'
- Dir.chdir(@@SRC_DIR) do
+ Dir.chdir(@@SRC_DIR) do
script = File.join('data', testname + '.cmd')
assert_equal(true,
run_debugger(testname,
"--script #{script} -- ./pm-catch.rb"))
end