on master help sign in
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 https://github.com/haskell/haskell-language-server/issues/22

commit52f3feab3e8c2d305f58cb60cdad1c548e7ca7f4 authorNeil Mitchell <ndmitchell@gmail.com> dateSun 2 Feb 2020, 17:51 (7 years ago) parent913aa5f
1 file changed+3−3
test/exe/Main.hs+3−3
test/exe/Main.hs+3−3
@@ -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 ]