File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
spring-integration-mail/src/test/java/org/springframework/integration/mail Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public void testSmtp() throws Exception {
82
82
assertThat (message .getFrom ()).containsOnly (new InternetAddress ("foo@bar" ));
83
83
assertThat (message .getRecipients (RecipientType .TO )).containsOnly (new InternetAddress ("bar@baz" ));
84
84
assertThat (message .getSubject ()).isEqualTo ("foo" );
85
- assertThat (message .getContent ()).asString ().isEqualTo ("foo\r \n " );
85
+ assertThat (message .getContent ()).asString ().isEqualTo ("foo" );
86
86
}
87
87
88
88
}
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public void testSmtp() throws Exception {
131
131
assertThat (message .getFrom ()).containsOnly (new InternetAddress ("foo@bar" ));
132
132
assertThat (message .getRecipients (RecipientType .TO )).containsOnly (new InternetAddress ("bar@baz" ));
133
133
assertThat (message .getSubject ()).isEqualTo ("foo" );
134
- assertThat (message .getContent ()).asString ().isEqualTo ("foo\r \n " );
134
+ assertThat (message .getContent ()).asString ().isEqualTo ("foo" );
135
135
136
136
}
137
137
You can’t perform that action at this time.
0 commit comments