Skip to content

Commit c3418a8

Browse files
committed
Fix Runner default argument. [bug]
1 parent 2f48689 commit c3418a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rubytest/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Test
22

33
# TODO: Wrap run in at_exit ?
4-
def self.run(config, &config_proc)
4+
def self.run(config=nil, &config_proc)
55
runner = Runner.new(config, &config_proc)
66
begin
77
success = runner.run

0 commit comments

Comments
 (0)