summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 01:08:04 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 01:08:04 (GMT)
commit43f3e3779cd0b163b268ff4445f4303d8d484e57 (patch)
tree88b37863b791f73a8efcde213ccbb8121e86371f /bin
parentd98d3fe12a46203b056c23f50d845028e3a73a7a (diff)
* lib/test/unit.rb: MiniTest::Unit is different class from
Test::Unit, and install runner before loading test/minitest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/testrb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/testrb b/bin/testrb
index e4eb909..6a65fba 100755
--- a/bin/testrb
+++ b/bin/testrb
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'test/unit'
-Test::Unit.setup_argv {|files|
+exit Test::Unit.start {|files|
if files.empty?
puts "Usage: testrb [options] tests..."
- exit 1
+ exit false
end
if files.size == 1
$0 = File.basename(files[0])