summaryrefslogtreecommitdiff
path: root/test/cctest
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-02-01 12:21:01 -0800
committerSam Roberts <vieuxtech@gmail.com>2019-02-06 15:18:41 -0800
commitd597b9193fca7087a6bf1a5eb64c40ac88e852de (patch)
tree3e4fa6a3dbc2066d93b7cb435fd0ef534f665423 /test/cctest
parentb52a8f3507a6df179d0cf2144c88173607926241 (diff)
downloadandroid-node-v8-d597b9193fca7087a6bf1a5eb64c40ac88e852de.tar.gz
android-node-v8-d597b9193fca7087a6bf1a5eb64c40ac88e852de.tar.bz2
android-node-v8-d597b9193fca7087a6bf1a5eb64c40ac88e852de.zip
test: use mustCall(), not global state checks
Instead of pushing state into global arrays and checking the results before exit, use common.mustCall() and make the checks immediately. PR-URL: https://github.com/nodejs/node/pull/25508 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/cctest')
0 files changed, 0 insertions, 0 deletions