Skip to content

Commit

Permalink
Fix integration test for random 1.2 being available
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jun 24, 2020
1 parent d2fed91 commit 779fb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/tests/3431-precompiled-works/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

0 comments on commit 779fb66

Please sign in to comment.