aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers/OOXML.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-02-27 11:28:15 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-02-27 11:28:15 -0500
commit0287530a67dca95197ac59f215de84d6518170b6 (patch)
treed7cae045ddf8f7c9ca3711a750b64558ba61cded /test/Tests/Writers/OOXML.hs
parent9abcb4f2010348ae7d25a2199d8e7fcb91a6315d (diff)
downloadpandoc-0287530a67dca95197ac59f215de84d6518170b6.tar.gz
Powerpoint writer: use `trim` from Shared
Instead of writing my own.
Diffstat (limited to 'test/Tests/Writers/OOXML.hs')
-rw-r--r--test/Tests/Writers/OOXML.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/Tests/Writers/OOXML.hs b/test/Tests/Writers/OOXML.hs
index c2601eec8..bdfdea145 100644
--- a/test/Tests/Writers/OOXML.hs
+++ b/test/Tests/Writers/OOXML.hs
@@ -33,12 +33,10 @@ compareXMLBool (Elem myElem) (Elem goodElem) =
elName myElem == elName goodElem &&
elAttribs myElem == elAttribs goodElem &&
and (zipWith compareXMLBool (elContent myElem) (elContent goodElem))
-
compareXMLBool (Text myCData) (Text goodCData) =
cdVerbatim myCData == cdVerbatim goodCData &&
cdData myCData == cdData goodCData &&
cdLine myCData == cdLine goodCData
-
compareXMLBool (CRef myStr) (CRef goodStr) =
myStr == goodStr
compareXMLBool _ _ = False