File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
1
.psci
2
2
.psci_modules /
3
+ /.psc-ide-port
3
4
bower_components /
4
5
node_modules /
5
6
output /
Original file line number Diff line number Diff line change 9
9
" output"
10
10
],
11
11
"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"
17
17
},
18
18
"license" : " MIT" ,
19
19
"repository" : {
20
20
"type" : " git" ,
21
- "url" : " git ://github.com/owickstrom /purescript-spec-quickcheck.git"
21
+ "url" : " https ://github.com/purescript-spec /purescript-spec-quickcheck.git"
22
22
}
23
23
}
Original file line number Diff line number Diff line change 1
1
module Test.Main where
2
2
3
3
import Prelude
4
+
4
5
import Effect (Effect )
6
+ import Effect.Aff (launchAff_ )
5
7
import Test.QuickCheck ((===), (/==))
6
8
import Test.Spec (describe , it )
7
9
import Test.Spec.QuickCheck (quickCheck )
8
10
import Test.Spec.Reporter.Console (consoleReporter )
9
- import Test.Spec.Runner (run )
11
+ import Test.Spec.Runner (runSpec )
10
12
11
13
main :: Effect Unit
12
- main = run [consoleReporter] do
14
+ main = launchAff_ $ runSpec [consoleReporter] do
13
15
describe " Math" do
14
16
it " works" $
15
17
quickCheck \n -> (n * 2 / 2 ) === n
You can’t perform that action at this time.
0 commit comments