test: improve the code in test-crypto-dh · nodejs/node@bab8a36 · GitHub
Skip to content

Commit bab8a36

Browse files
edsadrMylesBorins
authored andcommitted
test: improve the code in test-crypto-dh
* validate the errors for all assert.throws * use arrow functions PR-URL: #10734 Backport-PR-URL: #13785 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 752bc24 commit bab8a36

1 file changed

Lines changed: 41 additions & 29 deletions

File tree

test/parallel/test-crypto-dh.js

Lines changed: 41 additions & 29 deletions

0 commit comments

Comments
 (0)