From b5f9ccc08ca8468808870279d335947a5d868511 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sat, 15 Dec 2018 22:37:33 +0100 Subject: Add descriptions to the tests --- tests/CompileTest.hs | 5 +++++ tests/GhcSession.hs | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3