Skip to content

Commit

Permalink
fix error in coveredIndex2.js test
Browse files Browse the repository at this point in the history
  • Loading branch information
astaple committed Feb 25, 2012
1 parent 3f4ac45 commit 7e8cf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/coveredIndex2.js
Expand Up @@ -14,5 +14,5 @@ assert.eq( t.find({a:1}, {a: 1, _id: 0}).explain().indexOnly, true, "Find is not

// add multikey
t.save({a:[3,4]})
assert.eq( t.find({a:1}, {ln: 1, _id: 0}).explain().indexOnly, false, "Find is using covered index even after multikey insert");
assert.eq( t.find({a:1}, {a: 1, _id: 0}).explain().indexOnly, false, "Find is using covered index even after multikey insert");

0 comments on commit 7e8cf0c

Please sign in to comment.