diff options
| author | Koichi Sasada <ko1@atdot.net> | 2020-01-28 17:56:14 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2020-01-28 18:24:05 +0900 |
| commit | 4d132fa130e16eeb4af4177cfaccc00e05e2f864 (patch) | |
| tree | e621156c81b6d92fb96f192bfb04d9bc831eaa1f /spec | |
| parent | 471a9693118d0e6897b50dbbd935a237ad637398 (diff) | |
srand() should not run in tests.
test_rand.rb calls srand() several times, however it change global
rand-sequence (and --seeds doesn't have meaning). This patch makes
such tests run in other processes.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2865
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions
