Skip to content

Commit 52f3fea

Browse files
authored
Require GHC 8.6.5 for some docs tests (#398)
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See #22
1 parent 913aa5f commit 52f3fea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/exe/Main.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ completionTests
13871387
[complItem "head" (Just CiFunction) (Just "[a] -> a")]
13881388
let [CompletionItem { _documentation = headDocs}] = compls
13891389
checkDocText "head" headDocs [ "Defined in 'Prelude'"
1390-
#if MIN_GHC_API_VERSION(8,6,0)
1390+
#if MIN_GHC_API_VERSION(8,6,5)
13911391
, "Extract the first element of a list"
13921392
#endif
13931393
]
@@ -1415,7 +1415,7 @@ completionTests
14151415
let [ CompletionItem { _documentation = boundedDocs},
14161416
CompletionItem { _documentation = boolDocs } ] = compls
14171417
checkDocText "Bounded" boundedDocs [ "Defined in 'Prelude'"
1418-
#if MIN_GHC_API_VERSION(8,6,0)
1418+
#if MIN_GHC_API_VERSION(8,6,5)
14191419
, "name the upper and lower limits"
14201420
#endif
14211421
]
@@ -1430,7 +1430,7 @@ completionTests
14301430
[complItem "head" (Just CiFunction) (Just "[a] -> a")]
14311431
let [CompletionItem { _documentation = headDocs}] = compls
14321432
checkDocText "head" headDocs [ "Defined in 'Prelude'"
1433-
#if MIN_GHC_API_VERSION(8,6,0)
1433+
#if MIN_GHC_API_VERSION(8,6,5)
14341434
, "Extract the first element of a list"
14351435
#endif
14361436
]

0 commit comments

Comments
 (0)