Skip to content

Commit afe6f09

Browse files
committed
fix positions
1 parent e354bff commit afe6f09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ghcide/test/exe/FindDefinitionAndHoverTests.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ tests = let
115115

116116
recordDotSyntaxTests
117117
| ghcVersion >= GHC92 =
118-
[ tst (getHover, checkHover) (Position 19 24) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["x :: MyRecord"]]) "hover over parent"
119-
, tst (getHover, checkHover) (Position 19 25) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over dot shows child"
120-
, tst (getHover, checkHover) (Position 19 26) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over child"
118+
[ tst (getHover, checkHover) (Position 17 24) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["x :: MyRecord"]]) "hover over parent"
119+
, tst (getHover, checkHover) (Position 17 25) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over dot shows child"
120+
, tst (getHover, checkHover) (Position 17 26) (T.unpack "RecordDotSyntax.hs") (pure [ExpectHoverText ["_ :: MyChild"]]) "hover over child"
121121
]
122122
| otherwise = []
123123

0 commit comments

Comments
 (0)