Skip to content

Commit

Permalink
MiniTest::Unit#run now seems to need an array of args.
Browse files Browse the repository at this point in the history
It seems like this is somehow backwardly compatible, but I haven't
investigated closely. It may cause CI failures.
  • Loading branch information
floehopper committed Apr 13, 2012
1 parent 7dbd8a6 commit a4b85ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit a4b85ce

Please sign in to comment.