Commit 3516b09a authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix build breakage in Jobs.hs test code

Commit 3bdbe4b3

 (“Jobs.hs: move OpStatus and JobStatus ADTs to
Types.hs”) removed the TemplateHaskell language pragma from
htest/Test/Ganeti/Jobs.hs due to a hlint warning, but that is bad: it
means the testSuite call is no longer interpreted as a splice, so it results in:

  Parse error: naked expression at top level

With newer GHCs. To fix this, we restore the pragma, and add an hlint
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
parent 7b22f99c
{-# LANGUAGE TemplateHaskell #-}
{-| Unittests for ganeti-htools.
......@@ -27,6 +29,8 @@ module Test.Ganeti.Jobs (testJobs) where
import Test.Ganeti.TestHelper
{-# ANN module "HLint: ignore Unused LANGUAGE pragma" #-}
testSuite "Jobs"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment