Skip to content

Commit 88f01d3

Browse files
committed
Update test
1 parent 7cdb788 commit 88f01d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/functional/FunctionalCodeAction.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,14 @@ missingPragmaTests = testGroup "missing pragma warning code actions" [
518518
contents <- documentContents doc
519519

520520
let expected =
521+
-- TODO: Why CPP???
522+
#if __GLASGOW_HASKELL__ < 810
523+
[ "{-# LANGUAGE ScopedTypeVariables #-}"
524+
, "{-# LANGUAGE TypeApplications #-}"
525+
#else
521526
[ "{-# LANGUAGE TypeApplications #-}"
522527
, "{-# LANGUAGE ScopedTypeVariables #-}"
528+
#endif
523529
, "module TypeApplications where"
524530
, ""
525531
, "foo :: forall a. a -> a"

0 commit comments

Comments
 (0)