forked from elland/haddock2
ref(lexer): rename MathsBracket -> MathsMultiline
This commit is contained in:
parent
6ec47dad04
commit
bd07547e26
2 changed files with 7 additions and 7 deletions
|
|
@ -93,9 +93,9 @@ anchors =
|
|||
maths :: IO ()
|
||||
maths = do
|
||||
"\\[some math\\]"
|
||||
`shouldLexTo` [ (1, 1, MathsBracketOpen)
|
||||
`shouldLexTo` [ (1, 1, MathsMultilineOpen)
|
||||
, (1, 3, Token "some math")
|
||||
, (1, 12, MathsBracketClose)
|
||||
, (1, 12, MathsMultilineClose)
|
||||
]
|
||||
"\\(other maths\\)"
|
||||
`shouldLexTo` [ (1, 1, MathInlineOpen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue