diff options
author | Emily Bourke <undergroundquizscene@protonmail.com> | 2021-08-17 11:55:29 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-08-17 09:35:25 -0700 |
commit | 9204e5c9b1ef5d1f038dbc93928f6bbc71bf6b2f (patch) | |
tree | f439e1316e10d73df25d9ce1423ad343581f789e /test/Tests | |
parent | 8474d488a52343d53ee438301d66622aad6e7bb5 (diff) | |
download | pandoc-9204e5c9b1ef5d1f038dbc93928f6bbc71bf6b2f.tar.gz |
Don’t compare cdLine in OOXML golden tests
The `cdLine` field gives the line of the file some CData was found on. I
don’t think this is a difference that should fail these golden tests, as
the XML should still be parsable if nothing else has changed.
Diffstat (limited to 'test/Tests')
-rw-r--r-- | test/Tests/Writers/OOXML.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Tests/Writers/OOXML.hs b/test/Tests/Writers/OOXML.hs index 299e3e547..56a27a4b8 100644 --- a/test/Tests/Writers/OOXML.hs +++ b/test/Tests/Writers/OOXML.hs @@ -49,7 +49,6 @@ compareXML (Elem myElem) (Elem goodElem) = compareXML (Text myCData) (Text goodCData) = (if cdVerbatim myCData == cdVerbatim goodCData && cdData myCData == cdData goodCData - && cdLine myCData == cdLine goodCData then Nothing else Just (CDatasDiffer (Comparison { mine = myCData, good = goodCData }))) compareXML (CRef myStr) (CRef goodStr) = |