diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-09 20:06:49 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-09 20:12:25 -0800 |
commit | 2d47cde5d6a2cf0aff885b19e5c2100389313481 (patch) | |
tree | b641dad40da38479047f61a101499485d2972c3e /scripts | |
parent | c225b722cf154e1697f4ee15e7710f8c53ab5df6 (diff) |
tests: Add a generalized write-roundtrip test
This test tests two important invariants:
- Every combination of write flags has to result in a valid document
- Parsing that document and saving the result has to result in identical output
We don't test all flags since parse_no_escapes can intentionally result in
malformed documents and other flags aren't relevant for node output.
Also note that we test both no-whitespace and whitespace version to make sure
we don't have unnecessary whitespace added during formatting.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions