mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 01:52:45 +03:00
Rename testing-utils to testing-kit
This commit is contained in:
parent
8f5d6f7e81
commit
b4ed0eab56
14
hasql.cabal
14
hasql.cabal
@ -142,13 +142,13 @@ library
|
||||
uuid >=1.3 && <2,
|
||||
vector >=0.10 && <0.14,
|
||||
|
||||
library testing-utils
|
||||
library testing-kit
|
||||
import: base
|
||||
hs-source-dirs: testing-utils
|
||||
hs-source-dirs: testing-kit
|
||||
exposed-modules:
|
||||
Hasql.TestingUtils.Constants
|
||||
Hasql.TestingUtils.Statements.GenerateSeries
|
||||
Hasql.TestingUtils.TestingDsl
|
||||
Hasql.TestingKit.Constants
|
||||
Hasql.TestingKit.Statements.GenerateSeries
|
||||
Hasql.TestingKit.TestingDsl
|
||||
|
||||
build-depends:
|
||||
hasql,
|
||||
@ -167,7 +167,7 @@ test-suite tasty
|
||||
build-depends:
|
||||
contravariant-extras >=0.3.5.2 && <0.4,
|
||||
hasql,
|
||||
hasql:testing-utils,
|
||||
hasql:testing-kit,
|
||||
quickcheck-instances >=0.3.11 && <0.4,
|
||||
rerebase <2,
|
||||
tasty >=0.12 && <2,
|
||||
@ -218,6 +218,6 @@ test-suite hspec
|
||||
|
||||
build-tool-depends: hspec-discover:hspec-discover
|
||||
build-depends:
|
||||
hasql:testing-utils,
|
||||
hasql:testing-kit,
|
||||
hspec,
|
||||
rerebase >=1 && <2,
|
||||
|
@ -1,7 +1,7 @@
|
||||
module Hasql.PipelineSpec (spec) where
|
||||
|
||||
import Hasql.TestingUtils.Statements.GenerateSeries qualified as GenerateSeries
|
||||
import Hasql.TestingUtils.TestingDsl qualified as Dsl
|
||||
import Hasql.TestingKit.Statements.GenerateSeries qualified as GenerateSeries
|
||||
import Hasql.TestingKit.TestingDsl qualified as Dsl
|
||||
import Test.Hspec
|
||||
import Prelude
|
||||
|
||||
|
@ -5,7 +5,7 @@ import Hasql.Decoders qualified as Decoders
|
||||
import Hasql.Encoders qualified as Encoders
|
||||
import Hasql.Session qualified as Session
|
||||
import Hasql.Statement qualified as Statement
|
||||
import Hasql.TestingUtils.TestingDsl qualified as Session
|
||||
import Hasql.TestingKit.TestingDsl qualified as Session
|
||||
import Main.Connection qualified as Connection
|
||||
import Main.Prelude hiding (assert)
|
||||
import Main.Statements qualified as Statements
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Hasql.TestingUtils.Constants where
|
||||
module Hasql.TestingKit.Constants where
|
||||
|
||||
import Hasql.Connection qualified as Connection
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Hasql.TestingUtils.Statements.GenerateSeries where
|
||||
module Hasql.TestingKit.Statements.GenerateSeries where
|
||||
|
||||
import Hasql.Decoders qualified as Decoders
|
||||
import Hasql.Encoders qualified as Encoders
|
@ -1,4 +1,4 @@
|
||||
module Hasql.TestingUtils.TestingDsl
|
||||
module Hasql.TestingKit.TestingDsl
|
||||
( Session.Session,
|
||||
Error (..),
|
||||
Session.SessionError (..),
|
||||
@ -16,7 +16,7 @@ import Hasql.Connection qualified as Connection
|
||||
import Hasql.Pipeline qualified as Pipeline
|
||||
import Hasql.Session qualified as Session
|
||||
import Hasql.Statement qualified as Statement
|
||||
import Hasql.TestingUtils.Constants qualified as Constants
|
||||
import Hasql.TestingKit.Constants qualified as Constants
|
||||
import Prelude
|
||||
|
||||
data Error
|
Loading…
Reference in New Issue
Block a user