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 ab99b2e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/functional/FunctionalCodeAction.hs
Expand Up @@ -518,8 +518,19 @@ 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"
, "foo = id @a"
]
, "module TypeApplications where"
, ""
, "foo :: forall a. a -> a"
Expand Down

0 comments on commit ab99b2e

Please sign in to comment.