forked from elland/haddock2
Unicode with splits. Doesn't feel right.
This commit is contained in:
parent
e81f1ea4f7
commit
9efc312597
1 changed files with 8 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ main :: IO ()
|
|||
main = hspec $ do
|
||||
describe "Lexer" do
|
||||
describe "minimal" do
|
||||
it "handles unicode" unicode
|
||||
it "space chars" space
|
||||
it "bare string" someString
|
||||
it "emphasis" emphatic
|
||||
|
|
@ -34,6 +35,13 @@ main = hspec $ do
|
|||
-- Tests
|
||||
------------
|
||||
|
||||
unicode :: Expectation
|
||||
unicode =
|
||||
"ドラゴンクエストの冒険者🐉"
|
||||
`shouldLexTo` [ (1, 1, Token "ドラゴンクエストの冒険者")
|
||||
, (1, 13, Token "🐉")
|
||||
]
|
||||
|
||||
ignoreNesting :: Expectation
|
||||
ignoreNesting =
|
||||
">/foo/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue