diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-12 05:59:38 +0000 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-12 05:59:38 +0000 |
| commit | 9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4 (patch) | |
| tree | c7edccdab108fb4557e41c79502ab71cb84e9f07 /bbcode/test | |
| parent | 6c526fc1f57b666f978244db9c760841318e2251 (diff) | |
| download | thermoprint-9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4.tar thermoprint-9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4.tar.gz thermoprint-9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4.tar.bz2 thermoprint-9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4.tar.xz thermoprint-9bc6cd27e1c4b52f46e1b210b3d560c5340d1fe4.zip | |
Unnamed attributes
Diffstat (limited to 'bbcode/test')
| -rw-r--r-- | bbcode/test/Text/BBCode/LexerSpec.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bbcode/test/Text/BBCode/LexerSpec.hs b/bbcode/test/Text/BBCode/LexerSpec.hs index f4dcee6..fcc1c4f 100644 --- a/bbcode/test/Text/BBCode/LexerSpec.hs +++ b/bbcode/test/Text/BBCode/LexerSpec.hs | |||
| @@ -83,6 +83,8 @@ examples = [ ("[t]test[/t]" | |||
| 83 | , [BBOpen "t" [], BBStr "test", BBClose "t]"]) | 83 | , [BBOpen "t" [], BBStr "test", BBClose "t]"]) |
| 84 | , ("[t attr]test[/t]" | 84 | , ("[t attr]test[/t]" |
| 85 | , [BBOpen "t" [("attr", Nothing)], BBStr "test", BBClose "t"]) | 85 | , [BBOpen "t" [("attr", Nothing)], BBStr "test", BBClose "t"]) |
| 86 | , ("[t=attr]test[/t]" | ||
| 87 | , [BBOpen "t" [("", Just "attr")], BBStr "test", BBClose "t"]) | ||
| 86 | , ("[t attr=val]test[/t]" | 88 | , ("[t attr=val]test[/t]" |
| 87 | , [BBOpen "t" [("attr", Just "val")], BBStr "test", BBClose "t"]) | 89 | , [BBOpen "t" [("attr", Just "val")], BBStr "test", BBClose "t"]) |
| 88 | , ("[t attr=\"val\"]test[/t]" | 90 | , ("[t attr=\"val\"]test[/t]" |
