diff options
author | xcatliu <xcatliu@gmail.com> | 2020-08-27 17:03:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 11:03:15 +0200 |
commit | 6b95b25000a713cb86cdb5ddceb5aa46c819962e (patch) | |
tree | a17ceb6bf752a801b86577d290ca375b36d96d0c /std/testing/README.md | |
parent | e1564f385c770ac37c550f7d9e164d6a846c191e (diff) |
feat(std/testing): add assertNotMatch (#6775)
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 bc9d8af33..00169384c 100644 --- a/std/testing/README.md +++ b/std/testing/README.md @@ -21,6 +21,8 @@ pretty-printed diff of failing assertion. - `assertStringContains()` - Make an assertion that `actual` contains `expected`. - `assertMatch()` - Make an assertion that `actual` match RegExp `expected`. +- `assertNotMatch()` - Make an assertion that `actual` not match RegExp + `expected`. - `assertArrayContains()` - Make an assertion that `actual` array contains the `expected` values. - `assertThrows()` - Expects the passed `fn` to throw. If `fn` does not throw, |