aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/test
diff options
context:
space:
mode:
authoralexbiehl <alexbiehl@gmail.com>2020-12-08 21:00:50 +0100
committerAlexander Biehl <alexbiehl@gmail.com>2020-12-08 22:06:02 +0100
commitc4291bfc06211c9f60c9d43b4ada5c75ab8b41f8 (patch)
tree9eac61aa8f183025c929a365e3fc4761f8bdffbe /haddock-library/test
parent8dcc6d652c434b6ed9aea7a6019447aa72e7ba28 (diff)
Fix haddock-library tests
Diffstat (limited to 'haddock-library/test')
-rw-r--r--haddock-library/test/Documentation/Haddock/ParserSpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-library/test/Documentation/Haddock/ParserSpec.hs b/haddock-library/test/Documentation/Haddock/ParserSpec.hs
index f264dbba..1724c664 100644
--- a/haddock-library/test/Documentation/Haddock/ParserSpec.hs
+++ b/haddock-library/test/Documentation/Haddock/ParserSpec.hs
@@ -437,7 +437,7 @@ spec = do
"\"Foo#bar\"" `shouldParseTo` DocModule "Foo#bar"
it "accepts anchor with hyphen as DocModule" $ do
- "\"Foo#bar-baz\"" `shouldParseTo` DocModule "Foo\\#bar-baz"
+ "\"Foo#bar-baz\"" `shouldParseTo` DocModule "Foo#bar-baz"
it "accepts old anchor reference syntax as DocModule" $ do
"\"Foo\\#bar\"" `shouldParseTo` DocModule "Foo\\#bar"