Skip to content

Commit 2f8af6c

Browse files
committed
Disable unused haddock tests on GHC<9.10
1 parent 2c0a412 commit 2f8af6c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • plugins/hls-refactor-plugin/test

plugins/hls-refactor-plugin/test/Main.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,8 @@ deleteUnusedDefinitionTests = testGroup "delete unused definition action"
25332533
, ""
25342534
, "some = ()"
25352535
]
2536-
, testSession "delete unused top level binding with Haddock comment" $
2536+
, knownBrokenForGhcVersions [GHC96, GHC98] "Not implemented for GHC <9.10 (AST changed)" $
2537+
testSession "delete unused top level binding with Haddock comment" $
25372538
testFor
25382539
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
25392540
, "module A (some) where"
@@ -2553,7 +2554,8 @@ deleteUnusedDefinitionTests = testGroup "delete unused definition action"
25532554
, ""
25542555
, "some = ()"
25552556
]
2556-
, testSession "delete unused top level binding with block Haddock comment" $
2557+
, knownBrokenForGhcVersions [GHC96, GHC98] "Not implemented for GHC <9.10 (AST changed)" $
2558+
testSession "delete unused top level binding with block Haddock comment" $
25572559
testFor
25582560
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
25592561
, "module A (some) where"

0 commit comments

Comments
 (0)