Make order of EXPECT_EQ more natural, after upgrade to new GTest.

This commit is contained in:
Alexey Sokolov
2018-02-13 08:11:00 +00:00
parent c30e5ef9fd
commit e3a1308a04
13 changed files with 456 additions and 456 deletions

View File

@@ -47,7 +47,7 @@ class CConfigErrorTest : public CConfigTest {
CString sError;
EXPECT_FALSE(conf.Parse(File, sError));
EXPECT_EQ(sExpectError, sError);
EXPECT_EQ(sError, sExpectError);
}
};
@@ -66,7 +66,7 @@ class CConfigSuccessTest : public CConfigTest {
CString sOutput;
ToString(sOutput, conf);
EXPECT_EQ(sExpectedOutput, sOutput);
EXPECT_EQ(sOutput, sExpectedOutput);
}
void ToString(CString& sRes, CConfig& conf) {