summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/documenttests.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-10-15 01:51:29 -0400
committerEliot Horowitz <eliot@10gen.com>2012-10-15 18:07:06 -0400
commit3a15fac7d854802c99ed287ba2d8f0bd6d09212b (patch)
treedb58f0580014d508b5dd2cc9fba49029349fa81e /src/mongo/dbtests/documenttests.cpp
parent1c33a98ebf1a0caa5694fcc9a026bf1949c92f65 (diff)
downloadmongo-3a15fac7d854802c99ed287ba2d8f0bd6d09212b.tar.gz
hookup google cpplint, and make "scons lint" run the checks we pass on now
including a few that i made pass
Diffstat (limited to 'src/mongo/dbtests/documenttests.cpp')
-rw-r--r--src/mongo/dbtests/documenttests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/documenttests.cpp b/src/mongo/dbtests/documenttests.cpp
index 7035ec5f7bd..444b45ebe7f 100644
--- a/src/mongo/dbtests/documenttests.cpp
+++ b/src/mongo/dbtests/documenttests.cpp
@@ -662,7 +662,7 @@ namespace DocumentTests {
intrusive_ptr<const Value> value() { return Value::createDate(0); }
};
- /** Coerce // to bool. */
+ /** Coerce js literal regex to bool. */
class RegexToBool : public ToBoolTrue {
intrusive_ptr<const Value> value() { return fromBson( fromjson( "{''://}" ) ); }
};