MCPcopy Index your code
hub / github.com/scality/cloudserver / checkNoError

Function checkNoError

tests/functional/aws-node-sdk/test/object/copyPart.js:35–38  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

33const oneHundredMBPlus11 = 110100481;
34
35function checkNoError(err) {
36 assert.equal(err, null,
37 `Expected success, got error ${JSON.stringify(err)}`);
38}
39
40function checkError(err, code) {
41 assert.notEqual(err, null, 'Expected failure but got success');

Callers 1

copyPart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected