File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ library
44
44
, ghcide ^>= 1.6
45
45
, hls-graph
46
46
, hls-plugin-api ^>= 1.3
47
- , hspec < 2.8
47
+ , hspec < 2.10
48
48
, hspec-core
49
49
, lens
50
50
, lsp ^>= 1.4
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ module Test.Hls.Util
19
19
, fromAction
20
20
, fromCommand
21
21
, getCompletionByLabel
22
- , getHspecFormattedConfig
23
22
, ghcVersion , GhcVersion (.. )
24
23
, hostOS , OS (.. )
25
24
, matchesCurrentEnv , EnvSpec (.. )
@@ -169,22 +168,6 @@ hieYamlCradleDirectContents = unlines
169
168
170
169
-- ---------------------------------------------------------------------
171
170
172
- getHspecFormattedConfig :: String -> IO Config
173
- getHspecFormattedConfig name = do
174
- -- https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
175
- isCI <- isJust <$> lookupEnv " CI"
176
-
177
- -- Only use the xml formatter on CI since it hides console output
178
- if isCI
179
- then do
180
- let subdir = " test-results" </> name
181
- createDirectoryIfMissing True subdir
182
-
183
- return $ defaultConfig { configFormatter = Just xmlFormatter
184
- , configOutputFile = Right $ subdir </> " results.xml"
185
- }
186
- else return defaultConfig
187
-
188
171
-- | A Hspec formatter for CircleCI.
189
172
-- Originally from https://github.com/LeastAuthority/hspec-jenkins
190
173
xmlFormatter :: Formatter
You can’t perform that action at this time.
0 commit comments