summaryrefslogtreecommitdiff
path: root/jstests/core/timeseries/timeseries_list_collections.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/timeseries/timeseries_list_collections.js')
-rw-r--r--jstests/core/timeseries/timeseries_list_collections.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/timeseries/timeseries_list_collections.js b/jstests/core/timeseries/timeseries_list_collections.js
index 235c2115256..318f50b8f3a 100644
--- a/jstests/core/timeseries/timeseries_list_collections.js
+++ b/jstests/core/timeseries/timeseries_list_collections.js
@@ -70,8 +70,8 @@ const testOptions = function(options) {
assert(collections.find(entry => entry.name === 'system.views'));
assert(collections.find(entry => entry.name === 'system.buckets.' + coll.getName()));
assert.docEq(
- collections.find(entry => entry.name === coll.getName()),
- {name: coll.getName(), type: 'timeseries', options: options, info: {readOnly: false}});
+ {name: coll.getName(), type: 'timeseries', options: options, info: {readOnly: false}},
+ collections.find(entry => entry.name === coll.getName()));
};
testOptions({timeseries: {timeField: timeFieldName}});