test: test error messages in test-dns-regress-7070 · nodejs/node@25b76a4 · GitHub
Skip to content

Commit 25b76a4

Browse files
zjywtargos
authored andcommitted
test: test error messages in test-dns-regress-7070
Add a RegExp as a second argument to assert.throws(). PR-URL: #10058 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 8389a1e commit 25b76a4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/parallel/test-dns-regress-7070.js

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)