Compare commits
3 commits
7d561cf329
...
42b9dedbab
| Author | SHA1 | Date | |
|---|---|---|---|
| 42b9dedbab | |||
| 2fa45ab5cc | |||
| d8ba47a8b6 |
1 changed files with 7 additions and 0 deletions
|
|
@ -7,6 +7,12 @@ import GHC.Stack
|
||||||
import Identifier (Identifier)
|
import Identifier (Identifier)
|
||||||
import Lexer
|
import Lexer
|
||||||
import Parser
|
import Parser
|
||||||
|
import Types
|
||||||
|
|
||||||
|
import Data.String (IsString (..))
|
||||||
|
import Data.Text (Text)
|
||||||
|
import GHC.Stack
|
||||||
|
import Text.Parsec.Pos
|
||||||
import Test.Hspec
|
import Test.Hspec
|
||||||
import Text.Parsec.Pos
|
import Text.Parsec.Pos
|
||||||
import Types
|
import Types
|
||||||
|
|
@ -51,6 +57,7 @@ modules = do
|
||||||
, (1, 18, Anchor "myAnchor")
|
, (1, 18, Anchor "myAnchor")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
"\"OtherModule.Name\\#myAnchor\""
|
"\"OtherModule.Name\\#myAnchor\""
|
||||||
`shouldLexTo` [ (1, 2, Module "OtherModule.Name")
|
`shouldLexTo` [ (1, 2, Module "OtherModule.Name")
|
||||||
, (1, 18, Anchor "myAnchor")
|
, (1, 18, Anchor "myAnchor")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue