mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2025-01-06 03:06:58 +03:00
remote: rename testsuite to remote-io, move to tests-io
This commit is contained in:
parent
fe33fba30b
commit
b98fb44d7f
@ -97,7 +97,7 @@ executable remote-readme
|
||||
main-is: README.lhs
|
||||
ghc-options: -pgmL markdown-unlit -Wall
|
||||
|
||||
test-suite hnix-store-remote-tests
|
||||
test-suite remote-io
|
||||
import: commons
|
||||
|
||||
if !flag(io-testsuite) || os(darwin)
|
||||
@ -110,10 +110,7 @@ test-suite hnix-store-remote-tests
|
||||
other-modules:
|
||||
NixDaemon
|
||||
, Spec
|
||||
, Util
|
||||
hs-source-dirs: tests
|
||||
build-tool-depends:
|
||||
tasty-discover:tasty-discover
|
||||
hs-source-dirs: tests-io
|
||||
build-depends:
|
||||
base
|
||||
, bytestring
|
||||
@ -135,6 +132,8 @@ test-suite hnix-store-remote-tests
|
||||
, temporary
|
||||
, unix
|
||||
, unordered-containers
|
||||
build-tool-depends:
|
||||
tasty-discover:tasty-discover
|
||||
mixins:
|
||||
base hiding (Prelude)
|
||||
, relude (Relude as Prelude)
|
||||
|
@ -1,12 +0,0 @@
|
||||
|
||||
module Util where
|
||||
|
||||
import Data.Text.Arbitrary ()
|
||||
import System.Nix.Store.Remote.Util
|
||||
import Test.Tasty.QuickCheck
|
||||
|
||||
prop_TextToBSLRoundtrip :: Text -> Property
|
||||
prop_TextToBSLRoundtrip x = bslToText (textToBSL x) === x
|
||||
|
||||
prop_TextToBSRoundtrip :: Text -> Property
|
||||
prop_TextToBSRoundtrip x = bsToText (textToBS x) === x
|
Loading…
Reference in New Issue
Block a user