Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
berberman committed Feb 21, 2021
1 parent 7cdb788 commit 88f01d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/functional/FunctionalCodeAction.hs
Expand Up @@ -518,8 +518,14 @@ missingPragmaTests = testGroup "missing pragma warning code actions" [
contents <- documentContents doc

let expected =
-- TODO: Why CPP???
#if __GLASGOW_HASKELL__ < 810
[ "{-# LANGUAGE ScopedTypeVariables #-}"
, "{-# LANGUAGE TypeApplications #-}"
#else
[ "{-# LANGUAGE TypeApplications #-}"
, "{-# LANGUAGE ScopedTypeVariables #-}"
#endif
, "module TypeApplications where"
, ""
, "foo :: forall a. a -> a"
Expand Down

0 comments on commit 88f01d3

Please sign in to comment.