Commit 1abd193b authored by Christian Stenger's avatar Christian Stenger Committed by Niels Weber
Browse files

Fix operator<() for GTestCaseSpec

Introduced broken with cbdf48a7


Change-Id: Ib224fd167573594673f5370c5330280809017904
Reviewed-by: default avatarNiels Weber <>
parent cbdf48a7
......@@ -133,7 +133,7 @@ inline bool operator<(const GTestCaseSpec &spec1, const GTestCaseSpec &spec2)
if (spec1.testCaseName != spec2.testCaseName)
return spec1.testCaseName < spec2.testCaseName;
return !spec1.parameterized;
return spec1.parameterized == spec2.parameterized ? false : !spec1.parameterized;
class GTestVisitor : public CPlusPlus::ASTVisitor
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment