diff options
Diffstat (limited to 'std/testing/README.md')
-rw-r--r-- | std/testing/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/std/testing/README.md b/std/testing/README.md index e442ea014..f970471cb 100644 --- a/std/testing/README.md +++ b/std/testing/README.md @@ -25,6 +25,8 @@ pretty-printed diff of failing assertion. `expected`. - `assertArrayContains()` - Make an assertion that `actual` array contains the `expected` values. +- `assertObjectMatch()` - Make an assertion that `actual` object match + `expected` subset object - `assertThrows()` - Expects the passed `fn` to throw. If `fn` does not throw, this function does. Also compares any errors thrown to an optional expected `Error` class and checks that the error `.message` includes an optional |