From dab9c1a25454c06a5dd94eb093a0d2a64bf9d9d3 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 29 Apr 2013 17:46:24 -0400 Subject: SERVER-6400 rename *Expression* to *MatchExpression* to avoid conflict --- src/mongo/db/matcher/expression_parser_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mongo/db/matcher/expression_parser_test.cpp') diff --git a/src/mongo/db/matcher/expression_parser_test.cpp b/src/mongo/db/matcher/expression_parser_test.cpp index 92f5248a3bb..f7ee08f3da0 100644 --- a/src/mongo/db/matcher/expression_parser_test.cpp +++ b/src/mongo/db/matcher/expression_parser_test.cpp @@ -27,18 +27,18 @@ namespace mongo { - TEST( ExpressionParserTest, SimpleEQ1 ) { + TEST( MatchExpressionParserTest, SimpleEQ1 ) { BSONObj query = BSON( "x" << 2 ); - StatusWithExpression result = ExpressionParser::parse( query ); + StatusWithMatchExpression result = MatchExpressionParser::parse( query ); ASSERT_TRUE( result.isOK() ); ASSERT( result.getValue()->matches( BSON( "x" << 2 ) ) ); ASSERT( !result.getValue()->matches( BSON( "x" << 3 ) ) ); } - TEST( ExpressionParserTest, Multiple1 ) { + TEST( MatchExpressionParserTest, Multiple1 ) { BSONObj query = BSON( "x" << 5 << "y" << BSON( "$gt" << 5 << "$lt" << 8 ) ); - StatusWithExpression result = ExpressionParser::parse( query ); + StatusWithMatchExpression result = MatchExpressionParser::parse( query ); ASSERT_TRUE( result.isOK() ); ASSERT( result.getValue()->matches( BSON( "x" << 5 << "y" << 7 ) ) ); -- cgit v1.2.1