diff options
Diffstat (limited to 'test/Main.hs')
-rw-r--r-- | test/Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Main.hs b/test/Main.hs index 542829e..3ed32a4 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -155,8 +155,10 @@ moduleInfoSpec modInfo = HCE.idOccMap (modInfo :: HCE.ModuleInfo) `shouldBe` testIdOccMap stackYamlArg :: [String] -#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0) +#if MIN_VERSION_GLASGOW_HASKELL(8,6,1,0) stackYamlArg = [] +#elif MIN_VERSION_GLASGOW_HASKELL(8,4,4,0) +stackYamlArg = ["--stack-yaml=stack-8.4.4.yaml"] #elif MIN_VERSION_GLASGOW_HASKELL(8,4,3,0) stackYamlArg = ["--stack-yaml=stack-8.4.3.yaml" ] #elif MIN_VERSION_GLASGOW_HASKELL(8,2,2,0) |