mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Add testing section to roc-for-elm-programmers
This commit is contained in:
parent
747fbaab71
commit
0f0b57b689
1 changed files with 8 additions and 0 deletions
|
@ -1240,6 +1240,14 @@ If you put these into a hypothetical Roc REPL, here's what you'd see:
|
|||
28 : Int *
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
Instead of a separate testing tool, Roc has a built-in `expect` keyword, which
|
||||
you can use in conjunction with `roc test` to run tests.
|
||||
|
||||
See [the tutorial section on testing](https://www.roc-lang.org/tutorial#tests-and-expectations)
|
||||
for details.
|
||||
|
||||
## Abilities
|
||||
|
||||
`comparable`, `appendable`, and `number` don't exist in Roc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue