Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Quint Iteration 4
Description
A copied piece of code is inconsistent with the original
Defect 72685 (STATIC_C)
Checker COPY_PASTE_ERROR (subcategory none)
File: /src/mongo/db/matcher/expression_algo_test.cpp
Function mongo::UnitTest_ExpressionAlgoIsSubsetOf_Exists::_doTest()
/src/mongo/db/matcher/expression_algo_test.cpp, line: 277
"aExists" looks like the original copy.
ASSERT_TRUE(expression::isSubsetOf(aExists.get(), aExists.get()));
|
/src/mongo/db/matcher/expression_algo_test.cpp, line: 280
"aExists" in "aExists" looks like a copy-paste error.
ASSERT_TRUE(expression::isSubsetOf(aExistsBExists.get(), aExists.get()));
|