Rename testing-utils to testing-kit

This commit is contained in:
Nikita Volkov 2024-04-22 07:32:56 +03:00
parent 8f5d6f7e81
commit b4ed0eab56
6 changed files with 14 additions and 14 deletions

View File

@ -142,13 +142,13 @@ library
uuid >=1.3 && <2, uuid >=1.3 && <2,
vector >=0.10 && <0.14, vector >=0.10 && <0.14,
library testing-utils library testing-kit
import: base import: base
hs-source-dirs: testing-utils hs-source-dirs: testing-kit
exposed-modules: exposed-modules:
Hasql.TestingUtils.Constants Hasql.TestingKit.Constants
Hasql.TestingUtils.Statements.GenerateSeries Hasql.TestingKit.Statements.GenerateSeries
Hasql.TestingUtils.TestingDsl Hasql.TestingKit.TestingDsl
build-depends: build-depends:
hasql, hasql,
@ -167,7 +167,7 @@ test-suite tasty
build-depends: build-depends:
contravariant-extras >=0.3.5.2 && <0.4, contravariant-extras >=0.3.5.2 && <0.4,
hasql, hasql,
hasql:testing-utils, hasql:testing-kit,
quickcheck-instances >=0.3.11 && <0.4, quickcheck-instances >=0.3.11 && <0.4,
rerebase <2, rerebase <2,
tasty >=0.12 && <2, tasty >=0.12 && <2,
@ -218,6 +218,6 @@ test-suite hspec
build-tool-depends: hspec-discover:hspec-discover build-tool-depends: hspec-discover:hspec-discover
build-depends: build-depends:
hasql:testing-utils, hasql:testing-kit,
hspec, hspec,
rerebase >=1 && <2, rerebase >=1 && <2,

View File

@ -1,7 +1,7 @@
module Hasql.PipelineSpec (spec) where module Hasql.PipelineSpec (spec) where
import Hasql.TestingUtils.Statements.GenerateSeries qualified as GenerateSeries import Hasql.TestingKit.Statements.GenerateSeries qualified as GenerateSeries
import Hasql.TestingUtils.TestingDsl qualified as Dsl import Hasql.TestingKit.TestingDsl qualified as Dsl
import Test.Hspec import Test.Hspec
import Prelude import Prelude

View File

@ -5,7 +5,7 @@ import Hasql.Decoders qualified as Decoders
import Hasql.Encoders qualified as Encoders import Hasql.Encoders qualified as Encoders
import Hasql.Session qualified as Session import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement 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.Connection qualified as Connection
import Main.Prelude hiding (assert) import Main.Prelude hiding (assert)
import Main.Statements qualified as Statements import Main.Statements qualified as Statements

View File

@ -1,4 +1,4 @@
module Hasql.TestingUtils.Constants where module Hasql.TestingKit.Constants where
import Hasql.Connection qualified as Connection import Hasql.Connection qualified as Connection

View File

@ -1,4 +1,4 @@
module Hasql.TestingUtils.Statements.GenerateSeries where module Hasql.TestingKit.Statements.GenerateSeries where
import Hasql.Decoders qualified as Decoders import Hasql.Decoders qualified as Decoders
import Hasql.Encoders qualified as Encoders import Hasql.Encoders qualified as Encoders

View File

@ -1,4 +1,4 @@
module Hasql.TestingUtils.TestingDsl module Hasql.TestingKit.TestingDsl
( Session.Session, ( Session.Session,
Error (..), Error (..),
Session.SessionError (..), Session.SessionError (..),
@ -16,7 +16,7 @@ import Hasql.Connection qualified as Connection
import Hasql.Pipeline qualified as Pipeline import Hasql.Pipeline qualified as Pipeline
import Hasql.Session qualified as Session import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement import Hasql.Statement qualified as Statement
import Hasql.TestingUtils.Constants qualified as Constants import Hasql.TestingKit.Constants qualified as Constants
import Prelude import Prelude
data Error data Error