summaryrefslogtreecommitdiff
path: root/src/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-04-11 14:45:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-04-11 14:45:42 -0700
commit4b90ffe1bd481c9330ffdad455676df6fe2fa6d4 (patch)
tree39de4690f95cdf79e1e04844f926fb581786811f /src/Tests
parent6b282fda5b4dab7c725ca64c1935d87d743b95ee (diff)
Allow '|' followed by newline in RST line block.
Diffstat (limited to 'src/Tests')
-rw-r--r--src/Tests/Readers/RST.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Tests/Readers/RST.hs b/src/Tests/Readers/RST.hs
index 3ca4e42bf..4b8c9301b 100644
--- a/src/Tests/Readers/RST.hs
+++ b/src/Tests/Readers/RST.hs
@@ -17,7 +17,10 @@ infix 5 =:
(=:) = test rst
tests :: [Test]
-tests = [ "field list" =:
+tests = [ "line block with blank line" =:
+ "| a\n|\n| b" =?> para (str "a" +++ linebreak +++
+ linebreak +++ str " " +++ str "b")
+ , "field list" =:
[_LIT|
:Hostname: media08
:IP address: 10.0.0.19