summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2011-08-29 19:56:28 -0400
committerSpencer T Brody <spencer@10gen.com>2011-08-29 19:56:28 -0400
commit43744ae3b2198eedccc9f7799214a6892844624a (patch)
tree3f426466ac0977cd43109aaf212d87e988e6ec92
parentae3201b73d06f139912aca4573994f1ed0c68d7b (diff)
downloadmongo-43744ae3b2198eedccc9f7799214a6892844624a.tar.gz
Put assert in right place in test.
-rw-r--r--jstests/sharding/index1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/index1.js b/jstests/sharding/index1.js
index 7a554c9da0b..bb83d971ced 100644
--- a/jstests/sharding/index1.js
+++ b/jstests/sharding/index1.js
@@ -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 ) {