mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Fix tests
This commit is contained in:
parent
29592afdb5
commit
572e9532ee
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue