Skip to content

Commit 1299c47

Browse files
committed
object copy
1 parent f2c0f20 commit 1299c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/aws-node-sdk/test/object/copyPart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function checkNoError(err) {
2929

3030
function checkError(err, code) {
3131
assert.notEqual(err, null, 'Expected failure but got success');
32-
assert.strictEqual(err.code, code);
32+
assert.strictEqual(err.name, code);
3333
}
3434

3535
describe('Object Part Copy', () => {

0 commit comments

Comments
 (0)