tests: add test with no arguments for AWAY command

v2.8-utf8proc
Sébastien Helleu 2020-03-24 16:58:11 +01:00
parent 9fac350b3f
commit cecbad1803
1 changed files with 3 additions and 1 deletions

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);
}
/*