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

@@ -115,7 +115,7 @@ TEST_F(UserTest, IsHostAllowed) {
for (const hostTest& h : aHostTests) {
CUser user("user");
user.AddAllowedHost(h.sMask);
EXPECT_EQ(h.bExpectedResult, user.IsHostAllowed(h.sIP))
EXPECT_EQ(user.IsHostAllowed(h.sIP), h.bExpectedResult)
<< "Allow-host is " << h.sMask;
}
}