diff options
author | Anne Lim <anne.lim@mongodb.com> | 2017-07-05 11:55:53 -0400 |
---|---|---|
committer | Anne Lim <anne.lim@mongodb.com> | 2017-07-05 11:55:53 -0400 |
commit | a3f9f13e3711ddf7a263259e0c494bf4d2926ff5 (patch) | |
tree | af4071d9fa32b815f03d9cc2a4d97208303904cf /src/mongo/db | |
parent | 4ca0e0a50a58dc1cb3b798c962e943170162c1ec (diff) | |
download | mongo-a3f9f13e3711ddf7a263259e0c494bf4d2926ff5.tar.gz |
Failed: lint on ! Enterprise RHEL 6.2 [MongoDB (master) @ 4ca0e0a5]
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp b/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp index de06ac5d18f..2e2efe50327 100644 --- a/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp +++ b/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp @@ -92,7 +92,7 @@ TEST(InternalSchemaXorOp, DoesNotUseElemMatchKey) { ASSERT_TRUE(expr.getValue()->matchesBSON(BSON("a" << 1), &details)); ASSERT_FALSE(details.hasElemMatchKey()); ASSERT_TRUE(expr.getValue()->matchesBSON(BSON("a" << BSON_ARRAY(1) << "b" << BSON_ARRAY(10)), - &details)); + &details)); ASSERT_FALSE(details.hasElemMatchKey()); ASSERT_FALSE( expr.getValue()->matchesBSON(BSON("a" << BSON_ARRAY(3) << "b" << BSON_ARRAY(4)), &details)); |