From 6fc812485e26f169bfe560b5f78c572378cbc53a Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 17 Oct 2018 15:42:57 +0300 Subject: Muse reader: allow examples to be indented with tabs --- test/Tests/Readers/Muse.hs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/Tests/Readers') diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index cda486daa..75dd4e7da 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -465,6 +465,14 @@ tests = , " }}}" ] =?> bulletList [ codeBlock "Example line" ] + , "Tabs" =: + T.unlines [ "{{{" + , "\t foo" + , "\t\t" + , "\t bar" + , "}}}" + ] =?> + codeBlock " foo\n\t\n bar" -- Amusewiki requires braces to be on separate line, -- this is an extension. , "One line" =: -- cgit v1.2.3