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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user