aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/test/Haddock
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/test/Haddock')
-rw-r--r--haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs b/haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
index 38cdbc87..a76bdcdc 100644
--- a/haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
+++ b/haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
@@ -52,7 +52,7 @@ parseSpec = do
it "should recognize preprocessor directives" $ do
"\n#define foo bar" `shouldParseTo` [TkSpace, TkCpp]
"x # y" `shouldParseTo`
- [TkIdentifier, TkSpace, TkCpp, TkSpace,TkIdentifier]
+ [TkIdentifier, TkSpace, TkOperator, TkSpace,TkIdentifier]
it "should distinguish basic language constructs" $ do
"(* 2) <$> (\"abc\", foo)" `shouldParseTo`