1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +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 @Test
public void serializeFullElement() throws XmlPullParserException, IOException, SmackParsingException { public void serializeFullElement() throws XmlPullParserException, IOException, SmackParsingException {
final String expectedXml = "" + final String expectedXml = "" +
"<x xmlns='jabber:x:conference'\n" + "<x xmlns='jabber:x:conference'" +
" continue='true'\n" + " continue='true'" +
" jid='darkcave@macbeth.shakespeare.lit'\n" + " jid='darkcave@macbeth.shakespeare.lit'" +
" password='cauldronburn'\n" + " password='cauldronburn'" +
" reason='Hey Hecate, this is the place for all good witches!'\n" + " reason='Hey Hecate, this is the place for all good witches!'" +
" thread='e0ffe42b28561960c6b12b944a092794b9683a38'/>"; " thread='e0ffe42b28561960c6b12b944a092794b9683a38'/>";
GroupChatInvitation invitation = new GroupChatInvitation(mucJid, GroupChatInvitation invitation = new GroupChatInvitation(mucJid,