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 11.psci
22.psci_modules /
3+ /.psc-ide-port
34bower_components /
45node_modules /
56output /
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 11module Test.Main where
22
33import Prelude
4+
45import Effect (Effect )
6+ import Effect.Aff (launchAff_ )
57import Test.QuickCheck ((===), (/==))
68import Test.Spec (describe , it )
79import Test.Spec.QuickCheck (quickCheck )
810import Test.Spec.Reporter.Console (consoleReporter )
9- import Test.Spec.Runner (run )
11+ import Test.Spec.Runner (runSpec )
1012
1113main :: 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
You can’t perform that action at this time.
0 commit comments