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

Function checkError

tests/functional/aws-node-sdk/test/object/copyPart.js:40–43  ·  view source on GitHub ↗
(err, code)

Source from the content-addressed store, hash-verified

38}
39
40function checkError(err, code) {
41 assert.notEqual(err, null, 'Expected failure but got success');
42 assert.strictEqual(err.name, code);
43}
44
45describe('Object Part Copy', () => {
46 withV4(sigCfg => {

Callers 1

copyPart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected