File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugins/hls-fourmolu-plugin/test Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ module Main
4
4
) where
5
5
6
6
import Data.Aeson
7
+ import qualified Data.Aeson.KeyMap as KM
7
8
import Data.Functor
8
9
import Ide.Plugin.Config
9
10
import qualified Ide.Plugin.Fourmolu as Fourmolu
@@ -33,7 +34,7 @@ tests =
33
34
goldenWithFourmolu :: Bool -> TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session () ) -> TestTree
34
35
goldenWithFourmolu cli title path desc = goldenWithHaskellDocFormatter def fourmoluPlugin " fourmolu" conf title testDataDir path desc " hs"
35
36
where
36
- conf = def{plcConfig = ( \ ( Object obj) -> obj) $ object [" external" .= cli]}
37
+ conf = def{plcConfig = KM. fromList [" external" .= cli]}
37
38
38
39
testDataDir :: FilePath
39
40
testDataDir = " test" </> " testdata"
You can’t perform that action at this time.
0 commit comments