From 779fb66b294ac63337054bf3f198a9409877896a Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 24 Jun 2020 08:18:59 +0300 Subject: [PATCH] Fix integration test for random 1.2 being available --- test/integration/tests/3431-precompiled-works/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/tests/3431-precompiled-works/Main.hs b/test/integration/tests/3431-precompiled-works/Main.hs index 92f691e73d..7d9e8ce5c5 100644 --- a/test/integration/tests/3431-precompiled-works/Main.hs +++ b/test/integration/tests/3431-precompiled-works/Main.hs @@ -4,7 +4,7 @@ import Data.List main :: IO () main = do - stack ["build", "random", "--stack-yaml", "custom1/stack.yaml"] - stackCheckStderr ["build", "random", "--stack-yaml", "custom2/stack.yaml"] $ \out -> do + stack ["build", "random-1.1", "--stack-yaml", "custom1/stack.yaml"] + stackCheckStderr ["build", "random-1.1", "--stack-yaml", "custom2/stack.yaml"] $ \out -> do print out unless ("precompiled" `isInfixOf` out) $ error "Didn't use precompiled!"