aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2018-11-04 16:47:29 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2018-11-04 16:47:29 +0300
commit8f57cf6d73d591068b970729add2f1dec42b1819 (patch)
tree2046b1890c9b0e34f46a119ed9f56f3aab61b359 /test
parent6f55f616d7f166df406b4fb3f4d048cf3e8a8d16 (diff)
Add support for GHC 8.4.4
Diffstat (limited to 'test')
-rw-r--r--test/Main.hs4
-rw-r--r--test/test-package/stack-8.4.3.yaml1
-rw-r--r--test/test-package/stack.yaml2
3 files changed, 5 insertions, 2 deletions
diff --git a/test/Main.hs b/test/Main.hs
index 11b94fb..542829e 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,3,0)
+#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0)
stackYamlArg = []
+#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)
stackYamlArg = ["--stack-yaml=stack-8.2.2.yaml" ]
#else
diff --git a/test/test-package/stack-8.4.3.yaml b/test/test-package/stack-8.4.3.yaml
new file mode 100644
index 0000000..80a9a5a
--- /dev/null
+++ b/test/test-package/stack-8.4.3.yaml
@@ -0,0 +1 @@
+resolver: lts-12.12
diff --git a/test/test-package/stack.yaml b/test/test-package/stack.yaml
index 80a9a5a..92d07c7 100644
--- a/test/test-package/stack.yaml
+++ b/test/test-package/stack.yaml
@@ -1 +1 @@
-resolver: lts-12.12
+resolver: lts-12.16