diff --git a/orville-sqlite.cabal b/orville-sqlite.cabal index b5155b0..d235185 100644 --- a/orville-sqlite.cabal +++ b/orville-sqlite.cabal @@ -34,7 +34,7 @@ library , text , bytestring default-language: Haskell2010 - ghc-options: -Wall + ghc-options: -Wall -Werror test-suite spec type: exitcode-stdio-1.0 @@ -56,3 +56,4 @@ test-suite spec , hspec , text default-language: Haskell2010 + ghc-options: -Wall -Werror diff --git a/src/Orville/SQLite/Internal.hs b/src/Orville/SQLite/Internal.hs index 4300245..df5f67c 100644 --- a/src/Orville/SQLite/Internal.hs +++ b/src/Orville/SQLite/Internal.hs @@ -5,7 +5,6 @@ module Orville.SQLite.Internal ( ) where import Control.Monad (forM) -import Data.Maybe (fromMaybe) import qualified Data.Text as T import qualified Database.SQLite3 as SQLite3 import Database.SQLite3.Direct (columnCount) diff --git a/test/Test/AutoMigration.hs b/test/Test/AutoMigration.hs index 35c60de..60d13b9 100644 --- a/test/Test/AutoMigration.hs +++ b/test/Test/AutoMigration.hs @@ -7,7 +7,6 @@ module Test.AutoMigration where import Control.Exception (SomeException, try) import Control.Monad.IO.Class (liftIO) -import Data.Int (Int64) import Test.Hspec import Orville.SQLite diff --git a/test/Test/EntityOperations.hs b/test/Test/EntityOperations.hs index e127bfe..0066dcc 100644 --- a/test/Test/EntityOperations.hs +++ b/test/Test/EntityOperations.hs @@ -4,8 +4,6 @@ module Test.EntityOperations where import Control.Monad.IO.Class (liftIO) -import Data.Int (Int64) -import Data.Text (Text) import Test.Hspec import Orville.SQLite diff --git a/test/Test/SqlMarshaller.hs b/test/Test/SqlMarshaller.hs index 2bf356e..4eaf192 100644 --- a/test/Test/SqlMarshaller.hs +++ b/test/Test/SqlMarshaller.hs @@ -4,7 +4,6 @@ module Test.SqlMarshaller where -import Data.Int (Int64) import qualified Data.Text as T import Test.Hspec