(fn, exact)
| 468 | } |
| 469 | |
| 470 | function mustSucceed(fn, exact) { |
| 471 | return mustCall(function(err, ...args) { |
| 472 | assert.ifError(err); |
| 473 | if (typeof fn === 'function') |
| 474 | return fn.apply(this, args); |
| 475 | }, exact); |
| 476 | } |
| 477 | |
| 478 | function mustCallAtLeast(fn, minimum) { |
| 479 | return _mustCallInner(fn, minimum, 'minimum'); |
no test coverage detected