fix(repeater): drobnosti z review antispamu (žádný high/med, jen LOW)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Fable 5 committed 2026-09-06 00:07:52 +02:00
1 parent ce4b7bd343
commit 34bb9a1aa0
5 files changed
+22 -9

No files matched your search

+7
View File
@@ -117,6 +117,13 @@ TEST(ChanListDel, AbsentEntryLeavesListAlone) {
EXPECT_STREQ(list, "a,b");
}
// RF-padded `filter del Bob ` (trailing space) must still match, like add trims.
TEST(ChanListDel, TrimsTrailingSpaceOfName) {
char list[128] = "Alice,Bob,Carol";
EXPECT_TRUE(chan_list_del(list, " Bob "));
EXPECT_STREQ(list, "Alice,Carol");
}
// ── round trip: what add put in, has finds and del removes ───────────────────
TEST(ChanList, RoundTrip) {