Fix tests

This commit is contained in:
12pm 2019-03-03 19:02:42 +01:00
parent 29592afdb5
commit 572e9532ee

View file

@ -10,7 +10,7 @@ TEST(NameBan, Empty)
TEST(NameBan, Equality)
{
CNameBan Abc0("abc", 0);
CNameBan Abc0("abc", 0, 0);
ASSERT_TRUE(IsNameBanned("abc", &Abc0, 1));
ASSERT_TRUE(IsNameBanned(" abc", &Abc0, 1));
ASSERT_TRUE(IsNameBanned("abc ", &Abc0, 1));