Migrate SafeTests (#4267)

This commit is contained in:
soulomoon 2024-05-30 01:49:42 +08:00 committed by GitHub
parent e40bd2e0bd
commit 52d7423b19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,15 +5,15 @@ import qualified Data.Text as T
import Development.IDE.Test (expectNoMoreDiagnostics)
import Language.LSP.Test
import Config
import Test.Tasty
import TestUtils
tests :: TestTree
tests =
testGroup
"SafeHaskell"
[ -- Test for https://github.com/haskell/ghcide/issues/424
testSessionWait "load" $ do
testWithDummyPluginEmpty "load" $ do
let sourceA =
T.unlines
["{-# LANGUAGE Trustworthy #-}"