1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
Original: ba4210cdb9
This commit is contained in:
Rong Sen Ng 2019-06-24 08:08:14 -05:00 committed by Ryan Dahl
parent cd7ed28c36
commit 69d4d88b4f

View file

@ -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.
- `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`.
- `assert()` - Expects a boolean value, throws if the value is `false`.
- `assertEquals()` - Uses the `equal` comparison and throws if the `actual` and