RST reader: Add test for space-before-note.

This commit is contained in:
Jesse Rosenthal 2016-10-17 09:54:06 -04:00
parent e666c92bc9
commit f407b66405

View file

@ -163,4 +163,13 @@ tests = [ "line block with blank line" =:
=?> para (codeWith ("", ["lhs", "haskell", "sourceCode"], []) "text")
, "unknown role" =: ":unknown:`text`" =?> para (str "text")
]
, testGroup "footnotes"
[ "remove space before note" =: unlines
[ "foo [1]_"
, ""
, ".. [1]"
, " bar"
] =?>
(para $ "foo" <> (note $ para "bar"))
]
]