aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-03-14 22:40:27 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-03-14 22:40:27 +0300
commitcac568f01609bf224c0e26ec62880bf7dbb58a07 (patch)
tree4a049555416709e016e2dd8615e6422aa1cbd687 /test
parent78f46be07c7d063c9d957bfe4d580fcbeb28786f (diff)
Add support for GHC 8.6.4
Diffstat (limited to 'test')
-rw-r--r--test/Main.hs4
-rw-r--r--test/test-package/stack-8.6.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 3ed32a4..e4bd4f0 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,6,1,0)
+#if MIN_VERSION_GLASGOW_HASKELL(8,6,4,0)
stackYamlArg = []
+#elif MIN_VERSION_GLASGOW_HASKELL(8,6,1,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"]
#elif MIN_VERSION_GLASGOW_HASKELL(8,4,3,0)
diff --git a/test/test-package/stack-8.6.3.yaml b/test/test-package/stack-8.6.3.yaml
new file mode 100644
index 0000000..6dcd7f8
--- /dev/null
+++ b/test/test-package/stack-8.6.3.yaml
@@ -0,0 +1 @@
+resolver: lts-13.0
diff --git a/test/test-package/stack.yaml b/test/test-package/stack.yaml
index 4e996a7..88f5e2c 100644
--- a/test/test-package/stack.yaml
+++ b/test/test-package/stack.yaml
@@ -1 +1 @@
-resolver: nightly-2018-12-21
+resolver: lts-13.12