Skip to content

Commit

Permalink
Fix references to old names
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Mar 10, 2024
1 parent a2a9991 commit 9b81c21
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 9b81c21

Please sign in to comment.