summaryrefslogtreecommitdiff
path: root/lib/test/unit/autorunner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/autorunner.rb')
-rw-r--r--lib/test/unit/autorunner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb
index 71dbccbced2..dadf080d123 100644
--- a/lib/test/unit/autorunner.rb
+++ b/lib/test/unit/autorunner.rb
@@ -64,7 +64,7 @@ module Test
c.pattern.concat(r.pattern) if(r.pattern)
c.exclude.concat(r.exclude) if(r.exclude)
c.base = r.base
- $:.unshift(r.base) if r.base
+ $:.push(r.base) if r.base
c.collect(*(r.to_run.empty? ? ['.'] : r.to_run))
end,
}
@@ -111,7 +111,7 @@ module Test
end
if(@standalone)
- o.on('-b', '--basedir=DIR', "Base directory of test suits.") do |b|
+ o.on('-b', '--basedir=DIR', "Base directory of test suites.") do |b|
@base = b
end