Skip to content

Commit

Permalink
rs.test
Browse files Browse the repository at this point in the history
  • Loading branch information
JemyCheung committed Oct 18, 2019
1 parent 814e620 commit 180eff8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/rs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,7 @@ describe('test start bucket manager', function () {
prefix: 'test'
}, function (err, respBody, respInfo) {
// 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
if (err.res.statusCode != 200) {
console.log(err);
throw err;
}
// so err !=null and you can judge respBody==null or err.res.statusCode==200
console.log(respBody + '\n');
console.log(JSON.stringify(respInfo));
done();
Expand Down

0 comments on commit 180eff8

Please sign in to comment.