mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Changed assert order in rooms test
This commit is contained in:
parent
6255420b80
commit
0c3fe51799
@ -27,12 +27,12 @@ rooms_query(void **state)
|
|||||||
|
|
||||||
prof_input("/rooms");
|
prof_input("/rooms");
|
||||||
|
|
||||||
|
assert_true(prof_output_exact("chatroom@conference.localhost, (A chat room)"));
|
||||||
|
assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
|
||||||
|
|
||||||
assert_true(stbbr_last_received(
|
assert_true(stbbr_last_received(
|
||||||
"<iq id=\"confreq\" to=\"conference.localhost\" type=\"get\">"
|
"<iq id=\"confreq\" to=\"conference.localhost\" type=\"get\">"
|
||||||
"<query xmlns=\"http://jabber.org/protocol/disco#items\"/>"
|
"<query xmlns=\"http://jabber.org/protocol/disco#items\"/>"
|
||||||
"</iq>"
|
"</iq>"
|
||||||
));
|
));
|
||||||
|
|
||||||
assert_true(prof_output_exact("chatroom@conference.localhost, (A chat room)"));
|
|
||||||
assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user