Skip to content

Commit 2781c2d

Browse files
Merge pull request #21 from purescript-spec/readme-fixes
Update README
2 parents 7ff7fba + c416e9d commit 2781c2d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# purescript-spec-discovery
22

33
purescript-spec-discovery is an extension to
4-
[purescript-spec](https://github.com/owickstrom/purescript-spec) that finds
4+
[purescript-spec](https://github.com/purescript-spec/purescript-spec) that finds
55
specs automatically, given a regular expression pattern.
66

77
It only works for NodeJS environments, currently.
@@ -22,12 +22,12 @@ import Effect (Effect)
2222
import Effect.Aff (launchAff_)
2323
import Test.Spec.Discovery (discover)
2424
import Test.Spec.Reporter.Console (consoleReporter)
25-
import Test.Spec.Runner (run)
25+
import Test.Spec.Runner (runSpec)
2626
2727
main :: Effect Unit
2828
main = launchAff_ do
2929
specs <- discover """My\.Package\..*Spec"""
30-
run [consoleReporter] specs
30+
runSpec [consoleReporter] specs
3131
```
3232

3333
For older versions of `purescript-spec`:
@@ -39,15 +39,15 @@ import Prelude
3939
import Effect (Effect)
4040
import Test.Spec.Discovery (discover)
4141
import Test.Spec.Reporter.Console (consoleReporter)
42-
import Test.Spec.Runner (run)
42+
import Test.Spec.Runner (runSpec)
4343
4444
main :: Effect Unit
4545
main = do
4646
specs <- discover """My\.Package\..*Spec"""
47-
run [consoleReporter] specs
47+
runSpec [consoleReporter] specs
4848
```
4949

50-
All modules that match the regular expression, **and has a definition
50+
All modules that match the regular expression, **and have a definition
5151
`spec :: Spec Unit`**, will be included and run.
5252

5353
## Documentation
@@ -57,7 +57,7 @@ Documentation is publised on [Pursuit](https://pursuit.purescript.org/packages/p
5757
## Contribute
5858

5959
If you have any issues or possible improvements please file them as
60-
[GitHub Issues](https://github.com/owickstrom/purescript-spec-mocha/issues).
60+
[GitHub Issues](https://github.com/purescript-spec/purescript-spec-discovery/issues).
6161
Pull requests requests are encouraged.
6262

6363
## License

0 commit comments

Comments
 (0)