Skip to content

Commit ce2ea87

Browse files
committed
Fix execution when --seed argument is not provided
1 parent 0c1e14a commit ce2ea87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/turbo_tests/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def self.run(opts = {})
2020
verbose = opts.fetch(:verbose, false)
2121
fail_fast = opts.fetch(:fail_fast, nil)
2222
count = opts.fetch(:count, nil)
23-
seed = opts.fetch(:seed, rand(0xFFFF).to_s)
23+
seed = opts.fetch(:seed) || rand(0xFFFF).to_s
2424
seed_used = !opts[:seed].nil?
2525

2626
if verbose

0 commit comments

Comments
 (0)