From a4b85cec59aa42616285548ff75771c0e38ae9e3 Mon Sep 17 00:00:00 2001 From: James Mead Date: Fri, 13 Apr 2012 16:39:34 +0100 Subject: [PATCH] MiniTest::Unit#run now seems to need an array of args. It seems like this is somehow backwardly compatible, but I haven't investigated closely. It may cause CI failures. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 809c44e31..944b99bb6 100644 --- a/Rakefile +++ b/Rakefile @@ -66,7 +66,7 @@ def benchmark_test_case(klass, iterations) if defined?(MiniTest) MiniTest::Unit.output = StringIO.new - Benchmark.realtime { iterations.times { |i| MiniTest::Unit.new.run(klass) } } + Benchmark.realtime { iterations.times { |i| MiniTest::Unit.new.run([klass]) } } else load 'test/unit/ui/console/testrunner.rb' unless defined?(Test::Unit::UI::Console::TestRunner) unless $silent_option