Commit a024104e authored by Vinícius do Carmo's avatar Vinícius do Carmo Committed by Adrian Estrada
Browse files

test: improve test-fs-open-flags



* use arrow funcion instead of function expression
* add second argument to method assert.throws
* check error messages from beginning to the end using ^ and $

PR-URL: nodejs#10908
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarAdrian Estrada <edsadr@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent ff75e216
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