Unverified Commit ac200a61 authored by dave-k's avatar dave-k Committed by Italo A. Casas
Browse files

test: add a second argument to assert.throws()

- a regular expression that matches the entire error message.

PR-URL: https://github.com/nodejs/node/pull/12139


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarPrince John Wesley <princejohnwesley@gmail.com>
parent 3cdd04b1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment