summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-11-30 17:27:52 -0500
committerMathias Stearn <mathias@10gen.com>2009-11-30 17:27:52 -0500
commitd538c3c8b4b1d0b2de1623733c5d883edb655f5c (patch)
tree12e6dbb971bde88081a920da995c48b532c2e894
parent31a82b30347d349a6c9d72d36c7e336da66716a8 (diff)
downloadmongo-d538c3c8b4b1d0b2de1623733c5d883edb655f5c.tar.gz
fix broken test. MINOR
-rw-r--r--s/shardkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/shardkey.cpp b/s/shardkey.cpp
index eab84b4ec4f..ad91c36cbc2 100644
--- a/s/shardkey.cpp
+++ b/s/shardkey.cpp
@@ -472,7 +472,7 @@ normal:
ShardKeyPattern k( BSON( "key" << 1 ) );
BSONObjBuilder b;
k.getFilter(b, fromjson("{z:3,key:30}"), fromjson("{key:90}"));
- BSONObj x = fromjson("{ key: { $gte: 30.0, $lt: 90.0 } }");
+ BSONObj x = fromjson("{ key: { $gte: 30, $lt: 90 } }");
assert( x.woEqual(b.obj()) );
}
void div(const char *a, const char *res) {