aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-05-08 13:36:33 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-05-08 13:36:33 +0300
commit660e3020f5bbda277278355a861d8e3d6ebeeec8 (patch)
treee5359c9f13db5e3ebe8c4d0fd65ff733db3a95cf /test
parent4ad872ac715e212c2c2c86e4a1a87f9c3a09ee91 (diff)
Add support for GHC 8.6.5
Diffstat (limited to 'test')
-rw-r--r--test/Main.hs6
-rw-r--r--test/test-package/stack-8.6.4.yaml1
-rw-r--r--test/test-package/stack-8.6.5.yaml1
-rw-r--r--test/test-package/stack.yaml2
4 files changed, 7 insertions, 3 deletions
diff --git a/test/Main.hs b/test/Main.hs
index e4bd4f0..13bbe29 100644
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -155,9 +155,11 @@ moduleInfoSpec modInfo =
HCE.idOccMap (modInfo :: HCE.ModuleInfo) `shouldBe` testIdOccMap
stackYamlArg :: [String]
-#if MIN_VERSION_GLASGOW_HASKELL(8,6,4,0)
+#if MIN_VERSION_GLASGOW_HASKELL(8,6,5,0)
stackYamlArg = []
-#elif MIN_VERSION_GLASGOW_HASKELL(8,6,1,0)
+#elif MIN_VERSION_GLASGOW_HASKELL(8,6,4,0)
+stackYamlArg = ["--stack-yaml=stack-8.6.4.yaml"]
+#elif MIN_VERSION_GLASGOW_HASKELL(8,6,3,0)
stackYamlArg = ["--stack-yaml=stack-8.6.3.yaml"]
#elif MIN_VERSION_GLASGOW_HASKELL(8,4,4,0)
stackYamlArg = ["--stack-yaml=stack-8.4.4.yaml"]
diff --git a/test/test-package/stack-8.6.4.yaml b/test/test-package/stack-8.6.4.yaml
new file mode 100644
index 0000000..88f5e2c
--- /dev/null
+++ b/test/test-package/stack-8.6.4.yaml
@@ -0,0 +1 @@
+resolver: lts-13.12
diff --git a/test/test-package/stack-8.6.5.yaml b/test/test-package/stack-8.6.5.yaml
new file mode 100644
index 0000000..f9ebe57
--- /dev/null
+++ b/test/test-package/stack-8.6.5.yaml
@@ -0,0 +1 @@
+resolver: lts-13.20
diff --git a/test/test-package/stack.yaml b/test/test-package/stack.yaml
index 88f5e2c..f9ebe57 100644
--- a/test/test-package/stack.yaml
+++ b/test/test-package/stack.yaml
@@ -1 +1 @@
-resolver: lts-13.12
+resolver: lts-13.20