summaryrefslogtreecommitdiff
path: root/lib/test/unit/collector/dir.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/collector/dir.rb')
-rw-r--r--lib/test/unit/collector/dir.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test/unit/collector/dir.rb b/lib/test/unit/collector/dir.rb
index 7a9bde891b9..c4a4c16dfd8 100644
--- a/lib/test/unit/collector/dir.rb
+++ b/lib/test/unit/collector/dir.rb
@@ -75,6 +75,7 @@ module Test
require(name)
end
find_test_cases(already_gathered).each{|t| add_suite(suites, t.suite)}
+ rescue LoadError, SystemExit
ensure
$:.replace(loadpath)
end