From a49d828395619765f20bebe8d937e38910ac3818 Mon Sep 17 00:00:00 2001 From: Neil Mitchell Date: Sun, 2 Feb 2020 17:51:58 +0000 Subject: [PATCH] Require GHC 8.6.5 for some docs tests (haskell/ghcide#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 --- test/exe/Main.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/exe/Main.hs b/test/exe/Main.hs index c7807b5dcb..1e375ada2f 100644 --- a/test/exe/Main.hs +++ b/test/exe/Main.hs @@ -1387,7 +1387,7 @@ completionTests [complItem "head" (Just CiFunction) (Just "[a] -> a")] let [CompletionItem { _documentation = headDocs}] = compls checkDocText "head" headDocs [ "Defined in 'Prelude'" -#if MIN_GHC_API_VERSION(8,6,0) +#if MIN_GHC_API_VERSION(8,6,5) , "Extract the first element of a list" #endif ] @@ -1415,7 +1415,7 @@ completionTests let [ CompletionItem { _documentation = boundedDocs}, CompletionItem { _documentation = boolDocs } ] = compls checkDocText "Bounded" boundedDocs [ "Defined in 'Prelude'" -#if MIN_GHC_API_VERSION(8,6,0) +#if MIN_GHC_API_VERSION(8,6,5) , "name the upper and lower limits" #endif ] @@ -1430,7 +1430,7 @@ completionTests [complItem "head" (Just CiFunction) (Just "[a] -> a")] let [CompletionItem { _documentation = headDocs}] = compls checkDocText "head" headDocs [ "Defined in 'Prelude'" -#if MIN_GHC_API_VERSION(8,6,0) +#if MIN_GHC_API_VERSION(8,6,5) , "Extract the first element of a list" #endif ]