This commit is contained in:
Colten Webb 2022-07-20 07:03:05 -04:00 committed by GitHub
parent b7c4274ddf
commit 41b1085df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"