Skip to content

Commit 9175fbe

Browse files
committed
Remove extra docs
1 parent 7b1b262 commit 9175fbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ghcide/test/exe/Main.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5280,21 +5280,21 @@ completionDocTests =
52805280
[ "module A where"
52815281
, "foo = od"
52825282
]
5283-
let expected = "*Imported from 'Prelude'*\n* * *\n[Documentation](file:"
5283+
let expected = "*Imported from 'Prelude'*\n* * *\n"
52845284
test doc (Position 1 8) "odd" (Just $ T.length expected) [expected]
52855285
, broken $ testSession "extern single line doc without '\\n'" $ do
52865286
doc <- createDoc "A.hs" "haskell" $ T.unlines
52875287
[ "module A where"
52885288
, "foo = no"
52895289
]
5290-
let expected = "*Imported from 'Prelude'*\n* * *\n\n\nBoolean \"not\"\n* * *\n[Documentation](file:"
5290+
let expected = "*Imported from 'Prelude'*\n* * *\n\n\nBoolean \"not\"\n* * *\n"
52915291
test doc (Position 1 8) "not" (Just $ T.length expected) [expected]
52925292
, broken $ testSession "extern mulit line doc" $ do
52935293
doc <- createDoc "A.hs" "haskell" $ T.unlines
52945294
[ "module A where"
52955295
, "foo = i"
52965296
]
5297-
let expected = "*Imported from 'Prelude'*\n* * *\n\n\nIdentity function. \n```haskell\nid x = x\n```\n* * *\n[Documentation](file:"
5297+
let expected = "*Imported from 'Prelude'*\n* * *\n\n\nIdentity function. \n```haskell\nid x = x\n```\n* * *\n"
52985298
test doc (Position 1 7) "id" (Just $ T.length expected) [expected]
52995299
]
53005300
where

0 commit comments

Comments
 (0)