Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
  • Loading branch information
JemyCheung committed Oct 18, 2019
1 parent ccb756e commit 7a40810
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/rs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,10 @@ describe('test start bucket manager', function () {
bucketManager.listPrefixV2(bucket, {
prefix: 'test'
}, function (err, respBody, respInfo) {
should.not.exist(err);
console.log(JSON.stringify(respBody) + '\n');
// the irregular data return from Server that Cannot be converted by urllib to JSON Object
// so err !=null and you can judge if err.res.statusCode==200
console.log(respBody + '\n');
console.log(JSON.stringify(respInfo));
respBody.should.have.keys('item');
respBody.item.should.have.keys('key', 'hash');
respBody.item.key.should.startWith('test');
done();
});
});
Expand Down

0 comments on commit 7a40810

Please sign in to comment.