1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

tests: add test with no arguments for AWAY command

This commit is contained in:
Sébastien Helleu
2020-03-24 16:58:11 +01:00
parent 9fac350b3f
commit cecbad1803
+3 -1
View File
@@ -363,8 +363,10 @@ TEST(IrcProtocolWithServer, away)
LONGS_EQUAL(0, ptr_nick->away);
server_recv (":alice!user@host AWAY :Holidays!");
LONGS_EQUAL(1, ptr_nick->away);
server_recv (":alice!user@host AWAY");
LONGS_EQUAL(0, ptr_nick->away);
}
/*