/ 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: use assert regexp in tls no cert test
Replace the `assert.throws` second argument from a Type to a `RegExp` matching the entire error message. Error message changes are `semver-major`, so we assert their content. PR-URL: #12891 Refs: #12603 Reviewed-By: Refael Ackermann <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: David Cai <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Sakthipriyan Vairamani <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com>
- Loading branch information
Showing 1 changed file with 2 additions and 1 deletion.