summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-01-25 16:59:04 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-01-27 07:44:53 -0500
commit9cf9f1f89d31e8a4a65cbdd419a50b6e4e62c9ab (patch)
treeb8e1e69d168f9f6b8ef5235b3af3cdd4ec94067e /pandoc.cabal
parentae2157fe8bca342ba23881e0f5dfba8d9fb07d84 (diff)
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 'pandoc.cabal')
0 files changed, 0 insertions, 0 deletions