test: refactor and fix test-dns · nodejs/node@f5b952b · GitHub
Skip to content

Commit f5b952b

Browse files
targosMylesBorins
authored andcommitted
test: refactor and fix test-dns
* More precise length assertion. * Fix incorrect use of string instead of RegExp in `throws` assertions. * Add missing RegExp to `throws` assertions. PR-URL: #9811 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 8b733dc commit f5b952b

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

test/parallel/test-dns.js

Lines changed: 17 additions & 13 deletions

0 commit comments

Comments
 (0)