Add directory dependency for the tests

This commit is contained in:
John Wiegley 2018-04-10 12:38:14 -07:00
parent 0d16b2f75e
commit dcd081d899
3 changed files with 14 additions and 12 deletions

View File

@ -2,7 +2,7 @@
--
-- see: https://github.com/sol/hpack
--
-- hash: b04b1cb6b8d8f2cbb85b7de0ab313e31b2c8e74120b41f5930894323ae11da2e
-- hash: eed66122f2daeb0845bd275988ae03be47bacd6cf6c52192042ce2e08df1a13b
name: hnix
version: 0.5.0
@ -137,6 +137,7 @@ test-suite hnix-tests
, containers
, data-fix
, deepseq
, directory
, exceptions
, filepath
, hnix

View File

@ -72,6 +72,7 @@ tests:
dependencies:
- hnix
- Glob
- directory
- filepath
- interpolate
- process

View File

@ -6,18 +6,18 @@
module EvalTests (tests, genEvalCompareTests) where
import Data.String.Interpolate.IsString
import Data.Text (Text)
import Nix
import Nix.Expr
import Nix.Parser
import Nix.Value
import Data.String.Interpolate.IsString
import Data.Text (Text)
import Nix
import Nix.Expr
import Nix.Parser
import Nix.Value
import qualified System.Directory as D
import System.FilePath
import Test.Tasty
import Test.Tasty.HUnit
import Test.Tasty.TH
import TestCommon
import System.FilePath
import Test.Tasty
import Test.Tasty.HUnit
import Test.Tasty.TH
import TestCommon
case_basic_sum =
constantEqualText "2" "1 + 1"