From 6b95b25000a713cb86cdb5ddceb5aa46c819962e Mon Sep 17 00:00:00 2001 From: xcatliu Date: Thu, 27 Aug 2020 17:03:15 +0800 Subject: feat(std/testing): add assertNotMatch (#6775) --- std/testing/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'std/testing/README.md') 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, -- cgit v1.2.3