File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
tests/functional/aws-node-sdk/test/multipleBackend/get Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,7 @@ describe('Multiple backend get object', function testSuite() {
7171 done => {
7272 const command = new GetObjectCommand ( { Bucket : '' , Key : 'somekey' } ) ;
7373 s3 . send ( command )
74- . then ( ( ) => {
75- done ( new Error ( 'Expected failure but got success' ) ) ;
76- } )
74+ . then ( ( ) => done ( new Error ( 'Expected failure but got success' ) ) )
7775 . catch ( err => {
7876 assert . notEqual ( err , null ,
7977 'Expected failure but got success' ) ;
@@ -85,9 +83,7 @@ describe('Multiple backend get object', function testSuite() {
8583 done => {
8684 const command = new GetObjectCommand ( { Bucket : bucket , Key : 'nope' } ) ;
8785 s3 . send ( command )
88- . then ( ( ) => {
89- done ( new Error ( 'Expected failure but got success' ) ) ;
90- } )
86+ . then ( ( ) => done ( new Error ( 'Expected failure but got success' ) ) )
9187 . catch ( err => {
9288 assert . notEqual ( err , null ,
9389 'Expected failure but got success' ) ;
You can’t perform that action at this time.
0 commit comments