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
44 ) where
55
66import Data.Aeson
7+ import qualified Data.Aeson.KeyMap as KM
78import Data.Functor
89import Ide.Plugin.Config
910import qualified Ide.Plugin.Fourmolu as Fourmolu
@@ -33,7 +34,7 @@ tests =
3334goldenWithFourmolu :: Bool -> TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session () ) -> TestTree
3435goldenWithFourmolu cli title path desc = goldenWithHaskellDocFormatter def fourmoluPlugin " fourmolu" conf title testDataDir path desc " hs"
3536 where
36- conf = def{plcConfig = ( \ ( Object obj) -> obj) $ object [" external" .= cli]}
37+ conf = def{plcConfig = KM. fromList [" external" .= cli]}
3738
3839testDataDir :: FilePath
3940testDataDir = " test" </> " testdata"
You can’t perform that action at this time.
0 commit comments