Refactor, test and improve the way we cut too-long messages for IRC
This commit is contained in:
1 parent
19bca5c2f2
commit
80d0c19c5a
4 files changed
+28
-9
No files matched your search
@@ -88,3 +88,9 @@ TEST_CASE("empty if fixed irc server")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("string cut")
|
||||
{
|
||||
CHECK(cut("coucou", 2).size() == 3);
|
||||
CHECK(cut("bonjour les copains", 6).size() == 4);
|
||||
}
|
||||
Reference in new issue
Block a user