1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-21 19:42:05 +01:00

[extensions] Drop newlines in test string within GroupChatInvitationElementTest

This commit is contained in:
Florian Schmaus 2023-12-07 15:18:04 +01:00
parent 664a141190
commit 90b8eee0d1

View file

@ -38,11 +38,11 @@ public class GroupChatInvitationElementTest {
@Test
public void serializeFullElement() throws XmlPullParserException, IOException, SmackParsingException {
final String expectedXml = "" +
"<x xmlns='jabber:x:conference'\n" +
" continue='true'\n" +
" jid='darkcave@macbeth.shakespeare.lit'\n" +
" password='cauldronburn'\n" +
" reason='Hey Hecate, this is the place for all good witches!'\n" +
"<x xmlns='jabber:x:conference'" +
" continue='true'" +
" jid='darkcave@macbeth.shakespeare.lit'" +
" password='cauldronburn'" +
" reason='Hey Hecate, this is the place for all good witches!'" +
" thread='e0ffe42b28561960c6b12b944a092794b9683a38'/>";
GroupChatInvitation invitation = new GroupChatInvitation(mucJid,