Skip to content

Commit 5b02926

Browse files
committed
include Test plugin handlers in HLS test suites
1 parent 9d98199 commit 5b02926

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hls-test-utils/src/Test/Hls.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ import Development.IDE.Main
4545
import qualified Development.IDE.Main as Ghcide
4646
import qualified Development.IDE.Plugin.HLS.GhcIde as Ghcide
4747
import Development.IDE.Plugin.Test (TestRequest (WaitForShakeQueue))
48+
import qualified Development.IDE.Plugin.Test as Test
4849
import Development.IDE.Types.Options
4950
import GHC.IO.Handle
5051
import Ide.Plugin.Config (Config, formattingProvider)
@@ -176,7 +177,7 @@ runSessionWithServer' plugin conf sconf caps root s = withLock lock $ keepCurren
176177
argsIdeOptions = \config sessionLoader ->
177178
let ideOptions = (argsIdeOptions def config sessionLoader) {optTesting = IdeTesting True}
178179
in ideOptions {optShakeOptions = (optShakeOptions ideOptions) {shakeThreads = 2}},
179-
argsHlsPlugins = pluginDescToIdePlugins $ plugin ++ Ghcide.descriptors
180+
argsHlsPlugins = pluginDescToIdePlugins $ plugin ++ Test.plugin : Ghcide.descriptors
180181
}
181182
x <- runSessionWithHandles inW outR sconf caps root s
182183
hClose inW

0 commit comments

Comments
 (0)