summaryrefslogtreecommitdiff
path: root/jstests/geo4.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/geo4.js')
-rw-r--r--jstests/geo4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/geo4.js b/jstests/geo4.js
index 73b4020..78404ab 100644
--- a/jstests/geo4.js
+++ b/jstests/geo4.js
@@ -4,7 +4,7 @@ t.drop();
t.insert( { zip : "06525" , loc : [ 41.352964 , 73.01212 ] } );
t.ensureIndex( { loc : "2d" }, { bits : 33 } );
-assert.eq( db.getLastError() , "can't have more than 32 bits in geo index" , "a" );
+assert.eq( db.getLastError() , "bits in geo index must be between 1 and 32" , "a" );
t.ensureIndex( { loc : "2d" }, { bits : 32 } );
assert( !db.getLastError(), "b" );