Skip to content

Commit d274ccf

Browse files
committed
rolledback test Main
1 parent 480c6bc commit d274ccf

File tree

1 file changed

+23
-32
lines changed

1 file changed

+23
-32
lines changed

test/functional/Main.hs

Lines changed: 23 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# OPTIONS_GHC -Wall #-}
2-
31
module Main where
42

53
import Command
@@ -14,50 +12,43 @@ import FunctionalCodeAction
1412
import FunctionalLiquid
1513
import HieBios
1614
import Highlight
17-
import ModuleName
1815
import Progress
1916
import Reference
2017
import Rename
2118
import Symbol
22-
import System.Environment
2319
import Tactic
2420
import Test.Tasty
2521
import Test.Tasty.Ingredients.Rerun
26-
import Test.Tasty.Runners (
27-
consoleTestReporter,
28-
listingTests,
29-
)
22+
import Test.Tasty.Runners (consoleTestReporter, listingTests)
3023
import Test.Tasty.Runners.AntXML
3124
import TypeDefinition
3225

3326
main :: IO ()
34-
main = do
27+
main =
3528
-- ingredient: xml runner writes json file of test results (https://github.com/ocharles/tasty-ant-xml/blob/master/Test/Tasty/Runners/AntXML.hs)
3629
-- rerunningTests allow rerun of failed tests (https://github.com/ocharles/tasty-rerun/blob/master/src/Test/Tasty/Ingredients/Rerun.hs)
37-
setEnv
38-
"TASTY_NUM_THREADS"
39-
"1"
4030
defaultMainWithIngredients
41-
[antXMLRunner, rerunningTests [listingTests, consoleTestReporter]]
31+
[ antXMLRunner
32+
, rerunningTests [listingTests, consoleTestReporter]
33+
]
4234
$ testGroup
4335
"haskell-language-server"
44-
[ -- Command.tests
45-
-- , Completion.tests
46-
-- , Deferred.tests
47-
-- , Definition.tests
48-
-- , Diagnostic.tests
49-
Eval.tests
50-
-- , Format.tests
51-
-- , FunctionalBadProject.tests
52-
-- , FunctionalCodeAction.tests
53-
-- , FunctionalLiquid.tests
54-
-- , HieBios.tests
55-
-- , Highlight.tests
56-
-- , ModuleName.tests
57-
-- , Progress.tests
58-
-- , Reference.tests
59-
-- , Rename.tests
60-
-- , Symbol.tests
61-
-- , Tactic.tests
62-
-- , TypeDefinition.tests
36+
[ Command.tests
37+
, Completion.tests
38+
, Deferred.tests
39+
, Definition.tests
40+
, Diagnostic.tests
41+
, Eval.tests
42+
, Format.tests
43+
, FunctionalBadProject.tests
44+
, FunctionalCodeAction.tests
45+
, FunctionalLiquid.tests
46+
, HieBios.tests
47+
, Highlight.tests
48+
, Progress.tests
49+
, Reference.tests
50+
, Rename.tests
51+
, Symbol.tests
52+
, Tactic.tests
53+
, TypeDefinition.tests
6354
]

0 commit comments

Comments
 (0)