Rewrite tests in haskell

This commit is contained in:
Alex David 2025-08-19 00:08:44 -07:00
commit d8b14ca5ee
9 changed files with 530 additions and 255 deletions

View file

@ -0,0 +1,46 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack
name: jail-nix-tests
version: 0.0.0
build-type: Simple
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
CombinatorsSpec
JailSpec
TestPrelude
Paths_jail_nix_tests
hs-source-dirs:
spec
default-extensions:
DerivingStrategies
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
NamedFieldPuns
QuasiQuotes
ScopedTypeVariables
TupleSections
TypeFamilies
ghc-options: -Wall -Werror -Wno-name-shadowing -threaded -rtsopts "-with-rtsopts=-T -N" -j
build-depends:
aeson
, base
, bytestring
, containers
, extra
, filepath
, hspec
, hspec-core
, interpolate
, mtl
, process
, string-conversions
, temporary
default-language: Haskell2010