Skip to content

Commit 547bd5b

Browse files
nbbeekenW-A-James
andauthored
Apply suggestions from code review
Co-authored-by: Warren James <[email protected]>
1 parent d410dd8 commit 547bd5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/legacy_wrappers/collection.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('legacy_wrappers/collection.js', () => {
4747
expect(collection.listIndexes().clone()).to.be.instanceOf(LegacyListIndexesCursor);
4848
});
4949

50-
it('collection.aggregate().clone() should return legacy ChangeStream', () => {
50+
it('collection.aggregate().clone() should return legacy AggregationCursor', () => {
5151
expect(collection.aggregate().clone()).to.be.instanceOf(LegacyAggregationCursor);
5252
});
5353

test/unit/legacy_wrappers/db.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('legacy_wrappers/db.js', () => {
2828
expect(db.listCollections()).to.be.instanceOf(LegacyListCollectionsCursor);
2929
});
3030

31-
it('collection.listCollections().clone() should return legacy listCollections cursor', () => {
31+
it('db.listCollections().clone() should return legacy listCollections cursor', () => {
3232
expect(db.listCollections().clone()).to.be.instanceOf(LegacyListCollectionsCursor);
3333
});
3434

0 commit comments

Comments
 (0)