Remove quotes around "test"
The example for adding a test section uses quotes around the
test target, "test".
However, this doesn't work, as it's not a valid identifier and
nimble fails with:
Error: identifier expected, but found '`"test" Task`'.
Remove the quotes in the example.
This commit is contained in:
parent
850304ffcb
commit
56f547f52e
1 changed files with 1 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ To make testing even more convenient, you may wish to define a ``test`` task
|
||||||
in your ``.nimble`` file. Like so:
|
in your ``.nimble`` file. Like so:
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
task "test", "Runs the test suite":
|
task test, "Runs the test suite":
|
||||||
exec "nim c -r tests/tester"
|
exec "nim c -r tests/tester"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue