Skip to content

Commit 496f313

Browse files
authored
Migrate PluginSimpleTests (#4259)
1 parent 4f7a0fc commit 496f313

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ghcide/test/exe/PluginSimpleTests.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ import Language.LSP.Protocol.Types hiding (SemanticTokenAbsolute (..),
1010
import Language.LSP.Test
1111
import System.FilePath
1212
-- import Test.QuickCheck.Instances ()
13+
import Config
14+
import Test.Hls.Util (EnvSpec (..), OS (..),
15+
knownBrokenForGhcVersions,
16+
knownBrokenInSpecificEnv)
1317
import Test.Tasty
14-
import TestUtils
1518

1619
tests :: TestTree
1720
tests =
@@ -36,9 +39,7 @@ tests =
3639

3740
-- Error: cabal: Failed to build ghc-typelits-natnormalise-0.7.7 (which is
3841
-- required by plugin-1.0.0). See the build log above for details.
39-
ignoreFor (BrokenForGHC [GHC96, GHC98]) "fragile, frequently times out" $
40-
ignoreFor (BrokenSpecific Windows [GHC94]) "ghc-typelist-natnormalise fails to build on GHC 9.4.2 for windows only" $
41-
testSessionWithExtraFiles "plugin-knownnat" "simple plugin" $ \dir -> do
42+
testWithExtraFiles "simple plugin" "plugin-knownnat" $ \dir -> do
4243
_ <- openDoc (dir </> "KnownNat.hs") "haskell"
4344
liftIO $ writeFile (dir</>"hie.yaml")
4445
"cradle: {cabal: [{path: '.', component: 'lib:plugin'}]}"

0 commit comments

Comments
 (0)