diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-09 04:26:05 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-09 04:26:05 +0000 |
| commit | 99974a5acbbb975504e35847c9c63580a915ed8c (patch) | |
| tree | f7a5d476c89b015f662dd1497c690c3e05edeffa /lib/test | |
| parent | 6552cdcbbe41d5764da4e35ac9a396eee6bcc46b (diff) | |
| download | ruby-99974a5acbbb975504e35847c9c63580a915ed8c.tar.gz ruby-99974a5acbbb975504e35847c9c63580a915ed8c.tar.xz ruby-99974a5acbbb975504e35847c9c63580a915ed8c.zip | |
* lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
and SystemExitError) while loading a testcase. smell of bug.
* test/testunit/collector/test_dir.rb: add new test of the LoadError.
* test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
openssl is not installed.
* test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
| -rw-r--r-- | lib/test/unit/collector/dir.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/test/unit/collector/dir.rb b/lib/test/unit/collector/dir.rb index 43fd1be71..e7395ac05 100644 --- a/lib/test/unit/collector/dir.rb +++ b/lib/test/unit/collector/dir.rb @@ -76,7 +76,6 @@ module Test require(name) end find_test_cases(already_gathered).each{|t| add_suite(suites, t.suite)} - rescue LoadError, SystemExit ensure $:.replace(loadpath) end |
