aboutsummaryrefslogtreecommitdiff
path: root/bbcode/test
diff options
context:
space:
mode:
Diffstat (limited to 'bbcode/test')
-rw-r--r--bbcode/test/Text/BBCode/LexerSpec.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/bbcode/test/Text/BBCode/LexerSpec.hs b/bbcode/test/Text/BBCode/LexerSpec.hs
index b82b640..d6e1427 100644
--- a/bbcode/test/Text/BBCode/LexerSpec.hs
+++ b/bbcode/test/Text/BBCode/LexerSpec.hs
@@ -63,6 +63,10 @@ examples = [ ("[t]test[/t]"
63 , [BBOpen "t", BBStr "te\\st", BBClose "t"]) 63 , [BBOpen "t", BBStr "te\\st", BBClose "t"])
64 , ("[t]te\\[st[/t]" 64 , ("[t]te\\[st[/t]"
65 , [BBOpen "t", BBStr "te[st", BBClose "t"]) 65 , [BBOpen "t", BBStr "te[st", BBClose "t"])
66 , ("[t]test\\\\[/t]"
67 , [BBOpen "t", BBStr "test\\", BBClose "t"])
68 , ("[t]test\\[/t]"
69 , [BBOpen "t", BBStr "test[/t]"])
66 , ("[\\t]test[/t]" 70 , ("[\\t]test[/t]"
67 , [BBOpen "\\t", BBStr "test", BBClose "t"]) 71 , [BBOpen "\\t", BBStr "test", BBClose "t"])
68 , ("[t]test[/t\\]]" 72 , ("[t]test[/t\\]]"