aboutsummaryrefslogtreecommitdiff
path: root/tests/unit-tests/parsetests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit-tests/parsetests.hs')
-rw-r--r--tests/unit-tests/parsetests.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit-tests/parsetests.hs b/tests/unit-tests/parsetests.hs
index a76e476e..e0645401 100644
--- a/tests/unit-tests/parsetests.hs
+++ b/tests/unit-tests/parsetests.hs
@@ -41,6 +41,12 @@ tests = [
input = "foobar\n> some code"
, result = Nothing -- parse error
}
+
+ -- test <BLANKLINE> support
+ , ParseTest {
+ input = ">>> putFooBar\nfoo\n<BLANKLINE>\nbar"
+ , result = Just $ DocExamples $ [Example "putFooBar" ["foo","","bar"]]
+ }
]