Skip to content

Commit 0ec0431

Browse files
committed
fix: 优化单测
1 parent f4cadf8 commit 0ec0431

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6181,8 +6181,7 @@ group('getObject() 手动关闭合并 Key 校验', function () {
61816181
},
61826182
function (err, data) {
61836183
console.log('getObject Body1', err || data);
6184-
assert.ok(data.Body.toString().includes('ListBucketResult'));
6185-
// assert.ok(err);
6184+
assert.ok(err);
61866185
done();
61876186
}
61886187
);
@@ -6200,8 +6199,7 @@ group('getObject() 手动关闭合并 Key 校验', function () {
62006199
},
62016200
function (err, data) {
62026201
console.log('getObject Body3', err || data);
6203-
assert.ok(data.Body.toString().includes('ListBucketResult'));
6204-
// assert.ok(err);
6202+
assert.ok(err);
62056203
done();
62066204
}
62076205
);

0 commit comments

Comments
 (0)