summaryrefslogtreecommitdiff
path: root/jstests/rename.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/rename.js')
-rw-r--r--jstests/rename.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/rename.js b/jstests/rename.js
index 0ec83b77e57..a6421b7128e 100644
--- a/jstests/rename.js
+++ b/jstests/rename.js
@@ -20,5 +20,5 @@ assert.commandWorked( admin.runCommand( {renameCollection:"test.jstests_rename_a
assert.eq( 0, a.find().count() );
assert.eq( 2, b.find().count() );
-assert.eq( 2, db.system.indexes.find( {ns:"test.jstests_rename_b"} ).count() );
+assert.eq( 3, db.system.indexes.find( {ns:"test.jstests_rename_b"} ).count() );
assert( b.find( {a:1} ).explain().cursor.match( /^BtreeCursor/ ) );