fix flaky chghost test

This commit is contained in:
Alexey Sokolov
2025-02-25 18:41:02 +00:00
parent 44e4b95a20
commit fc0dd1431f

View File

@@ -821,7 +821,7 @@ TEST_F(ZNCTest, ChgHostOnlyNicksAlreadyOnChannels) {
ircd.Write(":another!ident@host CHGHOST i2 h2");
ASSERT_THAT(client.ReadRemainder().toStdString(),
AllOf(HasSubstr("JOIN #chan1"),
Not(HasSubstr("#chan2"))));
Not(HasSubstr("JOIN #chan2"))));
}
} // namespace