mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make order of EXPECT_EQ more natural, after upgrade to new GTest.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user