diff options
author | Spencer T Brody <spencer@10gen.com> | 2011-08-29 19:56:28 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2011-08-29 19:56:28 -0400 |
commit | 43744ae3b2198eedccc9f7799214a6892844624a (patch) | |
tree | 3f426466ac0977cd43109aaf212d87e988e6ec92 /jstests/sharding/index1.js | |
parent | ae3201b73d06f139912aca4573994f1ed0c68d7b (diff) | |
download | mongo-43744ae3b2198eedccc9f7799214a6892844624a.tar.gz |
Put assert in right place in test.
Diffstat (limited to 'jstests/sharding/index1.js')
-rw-r--r-- | jstests/sharding/index1.js | 2 |
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 ) { |