summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-31 15:16:14 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-31 15:16:14 +0100
commit24273d034850b1312c551f6ace7f0b549728cbc9 (patch)
treec17c96c372a9605fb5081311d7a6d93de4135649 /tests
parented03544e1b58710448fa67764f10554b8eeab8dc (diff)
downloadhakyll-24273d034850b1312c551f6ace7f0b549728cbc9.tar.gz
Remove verbosity from configuration
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Core/Runtime/Tests.hs3
-rw-r--r--tests/TestSuite/Util.hs1
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hakyll/Core/Runtime/Tests.hs b/tests/Hakyll/Core/Runtime/Tests.hs
index af85f4f..fa1446f 100644
--- a/tests/Hakyll/Core/Runtime/Tests.hs
+++ b/tests/Hakyll/Core/Runtime/Tests.hs
@@ -13,6 +13,7 @@ import Test.HUnit (Assertion, (@?=))
--------------------------------------------------------------------------------
import Hakyll
+import qualified Hakyll.Core.Logger as Logger
import Hakyll.Core.Runtime
import TestSuite.Util
@@ -25,7 +26,7 @@ tests = testGroup "Hakyll.Core.Runtime.Tests" $ fromAssertions "run" [case01]
--------------------------------------------------------------------------------
case01 :: Assertion
case01 = withTestConfiguration $ \config -> do
- _ <- run config $ do
+ _ <- run config Logger.Error $ do
match "*.md" $ do
route $ setExtension "html"
compile $ do
diff --git a/tests/TestSuite/Util.hs b/tests/TestSuite/Util.hs
index 7000f5d..91f4339 100644
--- a/tests/TestSuite/Util.hs
+++ b/tests/TestSuite/Util.hs
@@ -110,5 +110,4 @@ withTestConfiguration f = do
{ destinationDirectory = "_testsite"
, storeDirectory = "_teststore"
, providerDirectory = "tests/data"
- , verbosity = Logger.Error
}