Default the test order to random
This commit is contained in:
parent
e2017f8c7c
commit
fb9ea391cf
@ -182,7 +182,7 @@ module Test
|
||||
order = options[:test_order]
|
||||
if seed = options[:seed]
|
||||
order ||= :random
|
||||
elsif order == :random
|
||||
elsif (order ||= :random) == :random
|
||||
seed = options[:seed] = rand(0x10000)
|
||||
orig_args.unshift "--seed=#{seed}"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user