Add located combinator; improved anchor matches with tests
This commit is contained in:
parent
8887476626
commit
7ae868932d
2 changed files with 18 additions and 9 deletions
|
|
@ -54,6 +54,11 @@ modules = do
|
|||
, (1, 18, Anchor "myAnchor")
|
||||
]
|
||||
|
||||
"\"OtherModule.Name\\#myAnchor\""
|
||||
`shouldLexTo` [ (1, 1, Module)
|
||||
, (1, 2, Token "OtherModule.Name")
|
||||
, (1, 18, Anchor "myAnchor")
|
||||
]
|
||||
link :: Expectation
|
||||
link =
|
||||
"[link to](http://some.website)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue