diff options
author | Refael Ackermann <refack@gmail.com> | 2017-05-09 17:16:52 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-05-19 15:22:44 -0400 |
commit | fccc0bf6e68981f6225315875524e1a0b56fcc20 (patch) | |
tree | 6fbe03770f10e7edaaadbc9ec6e1bd606ad18a08 /test/fixtures/failmustcall2.js | |
parent | 46e773c5db9ebc106823594b82f4ff14a0a004f3 (diff) | |
download | android-node-v8-fccc0bf6e68981f6225315875524e1a0b56fcc20.tar.gz android-node-v8-fccc0bf6e68981f6225315875524e1a0b56fcc20.tar.bz2 android-node-v8-fccc0bf6e68981f6225315875524e1a0b56fcc20.zip |
test: add mustCallAtLeast
PR-URL: https://github.com/nodejs/node/pull/12935
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/fixtures/failmustcall2.js')
-rw-r--r-- | test/fixtures/failmustcall2.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fixtures/failmustcall2.js b/test/fixtures/failmustcall2.js new file mode 100644 index 0000000000..89f8d23922 --- /dev/null +++ b/test/fixtures/failmustcall2.js @@ -0,0 +1,3 @@ +const common = require('../common'); +const f = common.mustCallAtLeast(() => {}, 2); +f(); |