diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-25 16:59:04 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-27 07:44:53 -0500 |
commit | 9cf9f1f89d31e8a4a65cbdd419a50b6e4e62c9ab (patch) | |
tree | b8e1e69d168f9f6b8ef5235b3af3cdd4ec94067e /test/command/3432.md | |
parent | ae2157fe8bca342ba23881e0f5dfba8d9fb07d84 (diff) | |
download | pandoc-9cf9f1f89d31e8a4a65cbdd419a50b6e4e62c9ab.tar.gz |
Docx writer: make more deterministic to facilitate testing
This will allow us to compare files directly in a golden test. Times
are still based on IO, but we will be able to safely skip those.
Changes:
- `getUniqueId` now calls to the state to get an incremented digit,
instead of calling to P.uniqueHash.
- we always start the PRNG in mkNumbering/mkAbstractNum with the same
seed (1848), so our randoms should be the same each time.
Diffstat (limited to 'test/command/3432.md')
0 files changed, 0 insertions, 0 deletions