Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix references to old names #4129

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,10 @@ test-suite func-test
, warnings
, pedantic
, refactor
, eval
, fourmolu
, ormolu
, floskell
type: exitcode-stdio-1.0
build-tool-depends:
haskell-language-server:haskell-language-server,
Expand Down
8 changes: 4 additions & 4 deletions test/utils/Test/Hls/Flags.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Test.Hls (TestTree, ignoreTestBecause)

-- | Disable test unless the eval flag is set
requiresEvalPlugin :: TestTree -> TestTree
#if eval
#if hls_eval
requiresEvalPlugin = id
#else
requiresEvalPlugin = ignoreTestBecause "Eval plugin disabled"
Expand All @@ -19,23 +19,23 @@ requiresEvalPlugin = ignoreTestBecause "Eval plugin disabled"
-- * Formatters
-- | Disable test unless the floskell flag is set
requiresFloskellPlugin :: TestTree -> TestTree
#if floskell
#if hls_floskell
requiresFloskellPlugin = id
#else
requiresFloskellPlugin = ignoreTestBecause "Floskell plugin disabled"
#endif

-- | Disable test unless the fourmolu flag is set
requiresFourmoluPlugin :: TestTree -> TestTree
#if fourmolu
#if hls_fourmolu
requiresFourmoluPlugin = id
#else
requiresFourmoluPlugin = ignoreTestBecause "Fourmolu plugin disabled"
#endif

-- | Disable test unless the ormolu flag is set
requiresOrmoluPlugin :: TestTree -> TestTree
#if ormolu
#if hls_ormolu
requiresOrmoluPlugin = id
#else
requiresOrmoluPlugin = ignoreTestBecause "Ormolu plugin disabled"
Expand Down
Loading