MCPcopy Index your code
hub / github.com/nodejs/node / expect_errno

Function expect_errno

test/parallel/test-fs-utimes.js:55–60  ·  view source on GitHub ↗
(syscall, resource, err, errno)

Source from the content-addressed store, hash-verified

53}
54
55function expect_errno(syscall, resource, err, errno) {
56 assert(
57 err && (err.code === errno || err.code === 'ENOSYS'),
58 `FAILED: expect_errno ${util.inspect(arguments)}`
59 );
60}
61
62function expect_ok(syscall, resource, err, atime, mtime, statSync) {
63 const mtime_diff = check_mtime(resource, mtime, statSync);

Callers 2

runTestsFunction · 0.85
syncTestsFunction · 0.85

Calls 2

inspectMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…