daml/libs-haskell/test-utils
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
..
DA/Test Haskell: Add assertFileExists to DA.Test.Util (#5520) 2020-04-09 15:29:31 +00:00
BUILD.bazel Haskell: Add assertFileExists to DA.Test.Util (#5520) 2020-04-09 15:29:31 +00:00