diff options
| author | Oskar Haarklou Veileborg <ohv1020@hotmail.com> | 2023-01-12 11:00:26 +0100 |
|---|---|---|
| committer | Oskar Haarklou Veileborg <ohv1020@hotmail.com> | 2023-01-12 11:00:26 +0100 |
| commit | bda5726650b18edea367db0fb16a29b9e711e3e2 (patch) | |
| tree | ab8c4c0cf317173da970218d5970e4ac18bb31a7 /README.md | |
| parent | list: fix Append & Prepend, remove varargs support (diff) | |
| download | pds-bda5726650b18edea367db0fb16a29b9e711e3e2.tar.gz pds-bda5726650b18edea367db0fb16a29b9e711e3e2.tar.xz | |
Fix random seed for TestRandom
The closure passed to t.Run captured the loop variable which would
always be equal to `*randomN` once the tests started running. This meant
that all of the runs used the same random seed.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
