Apply fixes for IsParting() pull request.

This commit is contained in:
RealKindOne
2026-07-22 01:58:01 -04:00
parent a0d58c8fed
commit d2fc5d550a
3 changed files with 2 additions and 8 deletions
+1 -3
View File
@@ -1368,9 +1368,7 @@ TEST_F(ZNCTest, PartWithError403) {
client.ReadUntil(":nick JOIN :#test");
client.Write("PART #test");
QByteArray partMsg;
ircd.ReadUntilAndGet("PART", partMsg);
EXPECT_THAT(partMsg.toStdString(), HasSubstr("PART #test"));
ircd.ReadUntil("PART #test");
// Server returns 403 error (ERR_NOSUCHCHANNEL) instead of confirming
ircd.Write(":server 403 nick #test :No such channel");