summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/path_accepting_keyword_test.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2017-12-14 14:49:07 -0500
committerDavid Storch <david.storch@10gen.com>2017-12-18 18:38:16 -0500
commit01c39d416435f930d249701ccb71744b519873b5 (patch)
treea288e6c965cfbb9c77a1f92afa41480a71c8b0d9 /src/mongo/db/matcher/path_accepting_keyword_test.cpp
parent85e1ed33ef2fc83e870124441eee7e036b8118a4 (diff)
downloadmongo-01c39d416435f930d249701ccb71744b519873b5.tar.gz
SERVER-31760 Add InternalExprEqMatchExpression.
Diffstat (limited to 'src/mongo/db/matcher/path_accepting_keyword_test.cpp')
-rw-r--r--src/mongo/db/matcher/path_accepting_keyword_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/path_accepting_keyword_test.cpp b/src/mongo/db/matcher/path_accepting_keyword_test.cpp
index 4830dd77505..d4aaafc714a 100644
--- a/src/mongo/db/matcher/path_accepting_keyword_test.cpp
+++ b/src/mongo/db/matcher/path_accepting_keyword_test.cpp
@@ -108,6 +108,9 @@ TEST(PathAcceptingKeyword, CanParseKnownMatchTypes) {
ASSERT_TRUE(PathAcceptingKeyword::INTERNAL_SCHEMA_MAX_LENGTH ==
MatchExpressionParser::parsePathAcceptingKeyword(
BSON("$_internalSchemaMaxLength" << 1).firstElement()));
+ ASSERT_TRUE(PathAcceptingKeyword::INTERNAL_EXPR_EQ ==
+ MatchExpressionParser::parsePathAcceptingKeyword(
+ BSON("$_internalExprEq" << 1).firstElement()));
}
TEST(PathAcceptingKeyword, EqualityMatchReturnsDefault) {