Skip to content

Commit 33d5163

Browse files
committed
configureCheckProject
1 parent 4b7d139 commit 33d5163

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ghcide/test/exe/Main.hs

+2-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import Development.IDE.Test (Cursor,
5353
getInterfaceFilesDir,
5454
waitForAction,
5555
getStoredKeys,
56-
waitForTypecheck, waitForGC)
56+
waitForTypecheck, waitForGC, configureCheckProject)
5757
import Development.IDE.Test.Runfiles
5858
import qualified Development.IDE.Types.Diagnostics as Diagnostics
5959
import Development.IDE.Types.Location
@@ -1603,10 +1603,7 @@ extendImportTests = testGroup "extend import actions"
16031603
codeActionTitle CodeAction{_title=x} = x
16041604

16051605
template setUpModules moduleUnderTest range expectedTitles expectedContentB = do
1606-
sendNotification SWorkspaceDidChangeConfiguration
1607-
(DidChangeConfigurationParams $ toJSON
1608-
def{checkProject = overrideCheckProject})
1609-
1606+
configureCheckProject overrideCheckProject
16101607

16111608
mapM_ (\x -> createDoc (fst x) "haskell" (snd x)) setUpModules
16121609
docB <- createDoc (fst moduleUnderTest) "haskell" (snd moduleUnderTest)

0 commit comments

Comments
 (0)