Skip to content

Commit bd99b44

Browse files
committed
reformat
1 parent 8af4caf commit bd99b44

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

hls-plugin-api/test/Ide/PluginUtilsTest.hs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1+
{-# LANGUAGE OverloadedLabels #-}
12
{-# LANGUAGE OverloadedStrings #-}
2-
{-# LANGUAGE OverloadedLabels #-}
33
{-# LANGUAGE TypeApplications #-}
44

55
module Ide.PluginUtilsTest
66
( tests
77
) where
88

9+
import qualified Data.Aeson as A
10+
import qualified Data.Aeson.Types as A
911
import Data.Char (isPrint)
12+
import Data.Function ((&))
1013
import qualified Data.Set as Set
1114
import qualified Data.Text as T
15+
import Ide.Plugin.Properties (KeyNamePath (..),
16+
definePropertiesProperty,
17+
defineStringProperty,
18+
emptyProperties, toDefaultJSON,
19+
toVSCodeExtensionSchema,
20+
usePropertyByPath,
21+
usePropertyByPathEither)
1222
import qualified Ide.Plugin.RangeMap as RangeMap
1323
import Ide.PluginUtils (extractTextInRange,
1424
positionInRange, unescape)
@@ -17,11 +27,6 @@ import Language.LSP.Protocol.Types (Position (..), Range (Range),
1727
import Test.Tasty
1828
import Test.Tasty.HUnit
1929
import Test.Tasty.QuickCheck
20-
import Ide.Plugin.Properties (emptyProperties, definePropertiesProperty, defineStringProperty, toVSCodeExtensionSchema, KeyNamePath (..))
21-
import Data.Function ((&))
22-
import qualified Data.Aeson as A
23-
import Ide.Plugin.Properties (toDefaultJSON, usePropertyByPathEither, usePropertyByPath)
24-
import qualified Data.Aeson.Types as A
2530

2631
tests :: TestTree
2732
tests = testGroup "PluginUtils"

0 commit comments

Comments
 (0)