Skip to content

Commit 50796ed

Browse files
committed
Fix stan plugin
1 parent bd421cc commit 50796ed

File tree

1 file changed

+8
-8
lines changed
  • plugins/hls-stan-plugin/test

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ module Main
33
)
44
where
55

6-
import Control.Lens ((^.))
7-
import Control.Monad (void)
8-
import Data.List (find)
9-
import Data.Text (Text)
10-
import qualified Data.Text as T
11-
import qualified Data.Text.IO as T
12-
import qualified Ide.Plugin.Stan as Stan
6+
import Control.Lens ((^.))
7+
import Control.Monad (void)
8+
import Data.List (find)
9+
import Data.Text (Text)
10+
import qualified Data.Text as T
11+
import qualified Data.Text.IO as T
12+
import qualified Ide.Plugin.Stan as Stan
1313
import qualified Language.LSP.Protocol.Lens as L
1414
import System.FilePath
1515
import Test.Hls
@@ -43,4 +43,4 @@ stanPlugin = mkPluginTestDescriptor Stan.descriptor "stan"
4343

4444
runStanSession :: FilePath -> Session a -> IO a
4545
runStanSession subdir =
46-
failIfSessionTimeout . runSessionWithServer stanPlugin (testDir </> subdir)
46+
failIfSessionTimeout . runSessionWithServer def stanPlugin (testDir </> subdir)

0 commit comments

Comments
 (0)