We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c0f20 commit 1299c47Copy full SHA for 1299c47
tests/functional/aws-node-sdk/test/object/copyPart.js
@@ -29,7 +29,7 @@ function checkNoError(err) {
29
30
function checkError(err, code) {
31
assert.notEqual(err, null, 'Expected failure but got success');
32
- assert.strictEqual(err.code, code);
+ assert.strictEqual(err.name, code);
33
}
34
35
describe('Object Part Copy', () => {
0 commit comments