@@ -10,13 +10,11 @@ import Data.List.Extra
10
10
import Data.String (IsString (fromString ))
11
11
import qualified Data.Text as T
12
12
import Development.IDE.Core.FileStore (getModTime )
13
- import qualified Development.IDE.Main as IDE
14
13
import qualified Development.IDE.Plugin.HLS.GhcIde as Ghcide
15
14
import qualified Development.IDE.Types.Diagnostics as Diagnostics
16
15
import Development.IDE.Types.Location
17
16
import qualified FuzzySearch
18
- import Ide.Logger (Recorder , WithPriority ,
19
- cmapWithPrio )
17
+ import Ide.Logger (Recorder , WithPriority )
20
18
import Ide.PluginUtils (pluginDescToIdePlugins )
21
19
import Ide.Types
22
20
import Language.LSP.Protocol.Message
@@ -26,7 +24,6 @@ import Language.LSP.Protocol.Types hiding
26
24
SemanticTokensEdit (.. ),
27
25
mkRange )
28
26
import Language.LSP.Test
29
- import LogType (Log (.. ))
30
27
import Network.URI
31
28
import qualified Progress
32
29
import System.IO.Extra hiding (withTempDir )
@@ -37,11 +34,10 @@ import Test.Hls (IdeState, def,
37
34
import Test.Tasty
38
35
import Test.Tasty.ExpectedFailure
39
36
import Test.Tasty.HUnit
40
- import TestUtils
41
37
import Text.Printf (printf )
42
38
43
- tests :: Recorder ( WithPriority Log ) -> TestTree
44
- tests recorder = do
39
+ tests :: TestTree
40
+ tests = do
45
41
testGroup " Unit"
46
42
[ testCase " empty file path does NOT work with the empty String literal" $
47
43
uriToFilePath' (fromNormalizedUri $ filePathToUri' " " ) @?= Just " ."
0 commit comments