This commit is contained in:
Michael Miller 2021-08-16 20:27:27 -06:00
parent 3803d4582c
commit 4e5a52215a
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -24,9 +24,7 @@ module Spectator
# Selects and shuffles the examples that should run. # Selects and shuffles the examples that should run.
private def examples private def examples
iterator = @config.iterator(@root) iterator = @config.iterator(@root)
iterator.to_a.tap do |examples| @config.shuffle!(iterator.to_a)
@config.shuffle!(examples)
end
end end
end end
end end