Skip to content

Commit

Permalink
Put assert in right place in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
stbrody committed Aug 29, 2011
1 parent ae3201b commit 43744ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/sharding/index1.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ for ( var i = 0; i < 10; i++ ) {
}
catch( e ){
print(e)
assert( !passed, "Should not shard collection with no unique index.")
}
assert( !passed, "Should not shard collection with no unique index.")
}
}
if ( i == 3 ) {
Expand Down

0 comments on commit 43744ae

Please sign in to comment.