mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Perform in-place shuffle
This commit is contained in:
parent
7b1b65f553
commit
bc8b608789
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module Spectator
|
|||
# if specified by the configuration.
|
||||
private def example_order
|
||||
if @config.randomize?
|
||||
@suite.to_a.shuffle(@config.random)
|
||||
@suite.to_a.shuffle!(@config.random)
|
||||
else
|
||||
@suite.each
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue