mirror of
https://github.com/denoland/deno.git
synced 2025-02-02 04:38:21 -05:00
parent
cd7ed28c36
commit
69d4d88b4f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ object is passed, the `name` property is used to identify the test. If the asser
|
||||||
|
|
||||||
Asserts are exposed in `testing/asserts.ts` module.
|
Asserts are exposed in `testing/asserts.ts` module.
|
||||||
|
|
||||||
- `equal()` - Deep comparision function, where `actual` and `expected` are
|
- `equal()` - Deep comparison function, where `actual` and `expected` are
|
||||||
compared deeply, and if they vary, `equal` returns `false`.
|
compared deeply, and if they vary, `equal` returns `false`.
|
||||||
- `assert()` - Expects a boolean value, throws if the value is `false`.
|
- `assert()` - Expects a boolean value, throws if the value is `false`.
|
||||||
- `assertEquals()` - Uses the `equal` comparison and throws if the `actual` and
|
- `assertEquals()` - Uses the `equal` comparison and throws if the `actual` and
|
||||||
|
|
Loading…
Add table
Reference in a new issue