Skip to content

Commit

Permalink
修改用例
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Dec 10, 2020
1 parent 091cbd4 commit 3ff5e29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,7 @@ group('BucketPolicy', function () {
Region: config.Region,
Policy: Policy
}, function (err, data) {
if (err) console.log(JSON.stringify(err));
assert.ok(!err);
cos.getBucketPolicy({
Bucket: config.Bucket,
Expand All @@ -1831,6 +1832,7 @@ group('BucketPolicy', function () {
Region: config.Region,
Policy: JSON.stringify(Policy)
}, function (err, data) {
if (err) console.log(JSON.stringify(err));
assert.ok(!err);
cos.getBucketPolicy({
Bucket: config.Bucket,
Expand Down

0 comments on commit 3ff5e29

Please sign in to comment.