diff options
Diffstat (limited to 'bbcode/test')
-rw-r--r-- | bbcode/test/Text/BBCodeSpec.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bbcode/test/Text/BBCodeSpec.hs b/bbcode/test/Text/BBCodeSpec.hs index a6e66b6..4e7ea72 100644 --- a/bbcode/test/Text/BBCodeSpec.hs +++ b/bbcode/test/Text/BBCodeSpec.hs | |||
@@ -61,5 +61,11 @@ examples = [ ("[t]test[/t]" | |||
61 | , [[Element "b" [] [Content "foo"]], [Element "b" [] [Content "bar"]]]) | 61 | , [[Element "b" [] [Content "foo"]], [Element "b" [] [Content "bar"]]]) |
62 | , ("[b]foo[/b][b]bar[/b]" | 62 | , ("[b]foo[/b][b]bar[/b]" |
63 | , [[Element "b" [] [Content "foo"], Element "b" [] [Content "bar"]]]) | 63 | , [[Element "b" [] [Content "foo"], Element "b" [] [Content "bar"]]]) |
64 | , ("[b]foo[/b]\n" | ||
65 | , [[Element "b" [] [Content "foo"]]]) | ||
66 | , ("[b]foo[/b] \n" | ||
67 | , [[Element "b" [] [Content "foo"], Content " "]]) | ||
68 | , ("[b]foo[/b] " | ||
69 | , [[Element "b" [] [Content "foo"], Content " "]]) | ||
64 | ] | 70 | ] |
65 | 71 | ||