Skip to content

Commit c2991f4

Browse files
authored
Migrate to PureScript 0.14.0 (#15)
1 parent 77a4269 commit c2991f4

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.psci
22
.psci_modules/
3+
/.psc-ide-port
34
bower_components/
45
node_modules/
56
output/

bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"output"
1010
],
1111
"dependencies": {
12-
"purescript-prelude": "^4.0.0",
13-
"purescript-aff": "^5.0.0",
14-
"purescript-random": "^4.0.0",
15-
"purescript-quickcheck": "^5.0.0",
16-
"purescript-spec": "^3.1.0"
12+
"purescript-prelude": "^5.0.0",
13+
"purescript-aff": "^6.0.0",
14+
"purescript-random": "^5.0.0",
15+
"purescript-quickcheck": "^7.0.0",
16+
"purescript-spec": "^5.0.0"
1717
},
1818
"license": "MIT",
1919
"repository": {
2020
"type": "git",
21-
"url": "git://github.com/owickstrom/purescript-spec-quickcheck.git"
21+
"url": "https://github.com/purescript-spec/purescript-spec-quickcheck.git"
2222
}
2323
}

test/Main.purs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
module Test.Main where
22

33
import Prelude
4+
45
import Effect (Effect)
6+
import Effect.Aff (launchAff_)
57
import Test.QuickCheck ((===), (/==))
68
import Test.Spec (describe, it)
79
import Test.Spec.QuickCheck (quickCheck)
810
import Test.Spec.Reporter.Console (consoleReporter)
9-
import Test.Spec.Runner (run)
11+
import Test.Spec.Runner (runSpec)
1012

1113
main :: Effect Unit
12-
main = run [consoleReporter] do
14+
main = launchAff_ $ runSpec [consoleReporter] do
1315
describe "Math" do
1416
it "works" $
1517
quickCheck \n -> (n * 2 / 2) === n

0 commit comments

Comments
 (0)