From 4d74a966c4dae72f627696e6440f8ac530965d6c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 8 Jan 2016 17:33:37 -0800 Subject: Added some entity tests in Markdown reader tests. Change types of divs. From Docbook "sect#" and "simplesect" to "level#" and "section." Add tests. Add mention of TEI to README. Small changes to TEI writer. --- tests/Tests/Writers/TEI.hs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/Tests/Writers/TEI.hs b/tests/Tests/Writers/TEI.hs index 228cda67d..56764db9f 100644 --- a/tests/Tests/Writers/TEI.hs +++ b/tests/Tests/Writers/TEI.hs @@ -27,15 +27,17 @@ infix 4 =: tests :: [Test] tests = [ testGroup "block elements" ["para" =: para "Lorem ipsum cetera." - =?> "

Lorem ipsum cetera.

" + =?> "

Lorem ipsum cetera.

" ] --- ] --- , testGroup "lists" --- [ --- ] , testGroup "inlines" [ - "Emphasis" =: emph ("emphasized") - =?> "emphasized" - ] - ] + "Emphasis" =: emph ("emphasized") + =?> "

emphasized

" + ,"SingleQuoted" =: singleQuoted (text "quoted material") + =?> "

quoted material

" + ,"DoubleQuoted" =: doubleQuoted (text "quoted material") + =?> "

quoted material

" + ,"NestedQuoted" =: doubleQuoted (singleQuoted (text "quoted material")) + =?> "

quoted material

" + ] + ] -- cgit v1.2.3