/ node Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
test: improve test-assert
Add RegExp to check assert throws the expected AssertionErrors. For the one with multiple flags is ok to hardcode the flags since the spec indicates the ordering will always be `gim`: Refs: http://www.ecma-international.org/ecma-262/6.0/#sec-get-regexp.prototype.flags PR-URL: #10916 Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Michaël Zasso <email@example.com> Reviewed-By: Italo A. Casas <firstname.lastname@example.org> Reviewed-By: Rich Trott <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org>
- Loading branch information
Showing 1 changed file with 20 additions and 5 deletions.