aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-12-15 22:37:33 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-01-22 03:06:51 +0100
commitb5f9ccc08ca8468808870279d335947a5d868511 (patch)
treec154d9030877fae0f9630d379580052619ae529b /tests
parent3176aac2223d4e29f45a53b1c4c76ceba10cdb4d (diff)
Add descriptions to the tests
Diffstat (limited to 'tests')
-rw-r--r--tests/CompileTest.hs5
-rw-r--r--tests/GhcSession.hs5
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs
index 8f7ab79..b5d9003 100644
--- a/tests/CompileTest.hs
+++ b/tests/CompileTest.hs
@@ -1,5 +1,10 @@
{-# LANGUAGE ScopedTypeVariables, GADTs, ImplicitParams #-}
+{-| This test tries to compile the Helper against every supported version of the
+ Cabal library. Since we compile the Helper at runtime, on the user's machine,
+ it is very important to make sure this will not fail.
+-}
+
import System.Environment (getArgs)
import System.Directory
import System.FilePath
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs
index acd3c33..3e67ae2 100644
--- a/tests/GhcSession.hs
+++ b/tests/GhcSession.hs
@@ -1,4 +1,9 @@
{-# LANGUAGE TupleSections, ScopedTypeVariables, RecordWildCards, RankNTypes, DataKinds #-}
+
+{-| This test ensures we can get a GHC API session up and running in a variety of
+ project environments.
+-}
+
module Main where
import GHC