aboutsummaryrefslogtreecommitdiff
path: root/tests/Spec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Spec.hs')
-rw-r--r--tests/Spec.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs
index 54d88df..6ac5d9c 100644
--- a/tests/Spec.hs
+++ b/tests/Spec.hs
@@ -16,9 +16,9 @@ import CabalHelper.Types
main :: IO ()
main = do
flip (setEnv "HOME") True =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR"
- writeAutogenFiles readProcess "." "./dist"
+ rawSystem "cabal" ["update"]
- _ <- system "cabal update"
+ writeAutogenFiles readProcess "." "./dist"
let vers :: [(Version, [Version])]
vers = map (parseVer *** map parseVer) [