File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugins/hls-rename-plugin/test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ tests = testGroup "Rename"
35
35
rename doc (Position 3 8 ) " baz"
36
36
, goldenWithRename " Import hiding" " ImportHiding" $ \ doc ->
37
37
rename doc (Position 0 22 ) " hiddenFoo"
38
- , goldenWithRename " Indirect Puns" " IndirectPuns" $ \ doc ->
38
+ , ignoreForGhcVersions [GHC92 ] " Record field refs broken in ghc92" $
39
+ goldenWithRename " Indirect Puns" " IndirectPuns" $ \ doc ->
39
40
rename doc (Position 4 23 ) " blah"
40
41
, goldenWithRename " Let expression" " LetExpression" $ \ doc ->
41
42
rename doc (Position 5 11 ) " foobar"
@@ -47,7 +48,8 @@ tests = testGroup "Rename"
47
48
rename doc (Position 3 12 ) " baz"
48
49
, goldenWithRename " Realigns do block indentation" " RealignDo" $ \ doc ->
49
50
rename doc (Position 0 2 ) " fooBarQuux"
50
- , goldenWithRename " Record field" " RecordField" $ \ doc ->
51
+ , ignoreForGhcVersions [GHC92 ] " Record field refs broken in ghc92" $
52
+ goldenWithRename " Record field" " RecordField" $ \ doc ->
51
53
rename doc (Position 6 9 ) " number"
52
54
, goldenWithRename " Shadowed name" " ShadowedName" $ \ doc ->
53
55
rename doc (Position 1 1 ) " baz"
You can’t perform that action at this time.
0 commit comments