daml/libs-haskell
Martin Huschenbett 06632267e9
Haskell: Add assertFileExists to DA.Test.Util (#5520)
* Haskell: Add assertFileExists to DA.Test.Util

This PR adds a helper function `assertFileExists` that captures the
`doesFileExist ... >>= assertBool ...` pattern that is very common in
our Haskell test suites. It also adds the inverse
`assertFileDoesNotExist` function. Both functions are now used where
appropriate.

CHANGELOG_BEGIN
CHANGELOG_END

* Add directory dependency to test-util lib

CHANGELOG_BEGIN
CHANGELOG_END
2020-04-09 15:29:31 +00:00
..
bazel-runfiles replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
da-hs-base replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
test-utils Haskell: Add assertFileExists to DA.Test.Util (#5520) 2020-04-09 15:29:31 +00:00