Skip to content

Commit

Permalink
Fix build on Appveyor (purescript#278)
Browse files Browse the repository at this point in the history
It looks like Appveyor doesn't run the tests anymore after purescript#273, and this seems to fix it 🤔
  • Loading branch information
f-f committed Jun 17, 2019
1 parent ca1b7f8 commit f1d4a52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/SpagoSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ spec = around_ setup $ do

it "Spago should add sources to config when key is missing" $ do

configV1 <- readFixture "spago-configV1.dhall"
spago ["init"] >>= shouldBeSuccess
-- Replace initial config with the old config format (without 'sources')
writeTextFile "spago.dhall" =<< readFixture "spago-configV1.dhall"
writeTextFile "spago.dhall" configV1

spago ["build"] >>= shouldBeSuccess
mv "spago.dhall" "spago-configV2.dhall"
checkFixture "spago-configV2.dhall"
Expand Down

0 comments on commit f1d4a52

Please sign in to comment.