aboutsummaryrefslogtreecommitdiff
path: root/bbcode/test/Text/BBCode
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-12 01:02:14 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-12 01:02:14 +0000
commitc1da385941598c8e31f0e3b72f34797afe964bc9 (patch)
tree149ba6405414360d83f24f1aab6c3a2644c67510 /bbcode/test/Text/BBCode
parentfea4f8690111a8bbb65845fb61961cfc0a9802cc (diff)
downloadthermoprint-c1da385941598c8e31f0e3b72f34797afe964bc9.tar
thermoprint-c1da385941598c8e31f0e3b72f34797afe964bc9.tar.gz
thermoprint-c1da385941598c8e31f0e3b72f34797afe964bc9.tar.bz2
thermoprint-c1da385941598c8e31f0e3b72f34797afe964bc9.tar.xz
thermoprint-c1da385941598c8e31f0e3b72f34797afe964bc9.zip
minor code cleanup
Diffstat (limited to 'bbcode/test/Text/BBCode')
-rw-r--r--bbcode/test/Text/BBCode/LexerSpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbcode/test/Text/BBCode/LexerSpec.hs b/bbcode/test/Text/BBCode/LexerSpec.hs
index 8b95874..b0b77d9 100644
--- a/bbcode/test/Text/BBCode/LexerSpec.hs
+++ b/bbcode/test/Text/BBCode/LexerSpec.hs
@@ -44,7 +44,7 @@ spec = do
44 zipWithM_ example [1..] examples 44 zipWithM_ example [1..] examples
45 where 45 where
46 example n (s, ts) = let str = "Example " <> show n 46 example n (s, ts) = let str = "Example " <> show n
47 in specify str $ (tokenize s == Right ts) 47 in specify str (tokenize s == Right ts)
48 48
49prop_token :: Text -> Property 49prop_token :: Text -> Property
50-- ^ prop> (mconcat . map coToken) <$> tokenize x == Right x 50-- ^ prop> (mconcat . map coToken) <$> tokenize x == Right x