summaryrefslogtreecommitdiff
blob: 2bd856f5f7867df269d3bfbc4396ab5dfa091e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/persistent-sqlite.cabal b/persistent-sqlite.cabal
index 39971e7..c0edfe3 100644
--- a/persistent-sqlite.cabal
+++ b/persistent-sqlite.cabal
@@ -76,2 +76,2 @@ executable sanity
     hs-source-dirs: test
-    build-depends: base, persistent-sqlite
+    build-depends: base, persistent-sqlite, monad-logger
diff --git a/test/sanity.hs b/test/sanity.hs
index aed09a3..ce61fed 100644
--- a/test/sanity.hs
+++ b/test/sanity.hs
@@ -3,2 +3,3 @@
 import Database.Persist.Sqlite
+import Control.Monad.Logger
 
@@ -7,2 +8,2 @@ $(return []) -- just force TH to run
 main :: IO ()
-main = withSqliteConn ":memory:" $ const $ return ()
+main = runStderrLoggingT $ withSqliteConn ":memory:" $ const $ return ()