@@ -205,69 +205,59 @@ executable haskell-language-server-wrapper
205205 , process
206206 default-language : Haskell2010
207207
208-
209208test-suite func-test
210- import : agpl
211- type : exitcode-stdio-1.0
212- default-language : Haskell2010
213- build-tool-depends : hspec-discover :hspec-discover
214- , haskell-language-server :haskell-language-server
215- , cabal-helper :cabal-helper-main
216- , ghcide :ghcide-test-preprocessor
217-
218- build-depends :
219- base >= 4.7 && < 5
220- , aeson
221- , data-default
222- , haskell-lsp-types == 0.22. *
223- , hls-test-utils
224- , hspec
225- , lens
226- , lsp-test >= 0.10.0.0
227- , text
228- , unordered-containers
229- other-modules :
230- -- CompletionSpec
231- -- , CommandSpec
232- -- , DeferredSpec
233- -- , DefinitionSpec
234- -- , DiagnosticsSpec
235- FormatSpec
236- -- , FunctionalBadProjectSpec
237- -- , FunctionalCodeActionsSpec
238- -- , FunctionalLiquidSpec
239- , FunctionalSpec
240- -- , HaReSpec
241- -- , HieBiosSpec
242- -- , HighlightSpec
243- -- , HoverSpec
244- , PluginSpec
245- -- , ProgressSpec
246- -- , ReferencesSpec
247- -- , RenameSpec
248- -- , SymbolsSpec
249- -- , TypeDefinitionSpec
250- , Utils
251- , Paths_haskell_language_server
252-
253- hs-source-dirs :
254- test/functional
255- ghc-options :
256- -Wall
257- -Wredundant-constraints
258- -Wno-name-shadowing
259- -threaded -rtsopts -with-rtsopts=-N
209+ import : agpl
210+ type : exitcode-stdio-1.0
211+ default-language : Haskell2010
212+ build-tool-depends : haskell-language-server :haskell-language-server
213+ , ghcide :ghcide-test-preprocessor
214+ build-depends : base >= 4.7 && < 5
215+ , aeson
216+ , data-default
217+ , directory
218+ , filepath
219+ , haskell-language-server
220+ , haskell-lsp
221+ , haskell-lsp-types
222+ , hls-test-utils
223+ , hspec-expectations
224+ , lens
225+ , lsp-test >= 0.10.0.0
226+ , tasty
227+ , tasty-ant-xml
228+ , tasty-expected-failure
229+ , tasty-hunit
230+ , tasty-rerun
231+ , text
232+ , unordered-containers
233+ hs-source-dirs : test/functional
234+ main-is : Main.hs
235+ other-modules : Command
236+ , Completion
237+ , Deferred
238+ , Definition
239+ , Diagnostic
240+ , Format
241+ , FunctionalBadProject
242+ , FunctionalCodeAction
243+ , FunctionalLiquid
244+ , HieBios
245+ , Highlight
246+ , Progress
247+ , Reference
248+ , Rename
249+ , Symbol
250+ , TypeDefinition
251+ ghc-options : -Wall
252+ -Wno-name-shadowing
253+ -threaded -rtsopts -with-rtsopts=-N
260254 if flag(pedantic)
261- ghc-options : -Werror
262- main-is : Main.hs
263- -- other-modules:
264- -- Development.IDE.Test
265- -- Development.IDE.Test.Runfiles
255+ ghc-options : -Werror -Wredundant-constraints
266256
267257library hls-test-utils
268258 import : agpl
269259 hs-source-dirs : test/utils
270- exposed-modules : TestUtils
260+ exposed-modules : Test.Hls.Util
271261 build-depends : base
272262 , haskell-language-server
273263 , haskell-lsp
@@ -281,7 +271,9 @@ library hls-test-utils
281271 , hslogger
282272 , hspec
283273 , hspec-core
274+ , lsp-test
284275 , stm
276+ , tasty-hunit
285277 , text
286278 , unordered-containers
287279 , yaml
0 commit comments