mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
fix test (#3051)
This commit is contained in:
parent
b7c4274ddf
commit
41b1085df5
@ -4359,7 +4359,7 @@ findDefinitionAndHoverTests = let
|
||||
, tst (getTypeDefinitions, checkDefs) aL20 sourceFilePath (pure [ExpectNoDefinitions]) "Polymorphic variable"]
|
||||
|
||||
recordDotSyntaxTests
|
||||
| ghcVersion == GHC92 =
|
||||
| ghcVersion >= GHC92 =
|
||||
[ tst (getHover, checkHover) (Position 19 24) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["x :: MyRecord"]]) "hover over parent"
|
||||
, tst (getHover, checkHover) (Position 19 25) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over dot shows child"
|
||||
, tst (getHover, checkHover) (Position 19 26) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over child"
|
||||
|
Loading…
Reference in New Issue
Block a user