File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
as2-lib/src/test/java/com/helger/as2lib/util/http Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,12 @@ public void testNoLengthMessageRegular () throws Exception
299299 }
300300 catch (final IOException ex )
301301 {
302- assertEquals ("Content-Length missing" , ex .getMessage ());
302+ assertEquals ("Content-Length is missing and no Transfer-Encoding is specified " , ex .getMessage ());
303303 }
304304 }
305305
306306 @ Test
307- public void testBadTRansferEncodingMessageRegular () throws Exception
307+ public void testBadTransferEncodingMessageRegular () throws Exception
308308 {
309309 // stream
310310 final AS2Message aMsg = new AS2Message ();
@@ -316,7 +316,7 @@ public void testBadTRansferEncodingMessageRegular () throws Exception
316316 }
317317 catch (final IOException ex )
318318 {
319- assertEquals ("Transfer-Encoding unimplemented: cXXhunked" , ex .getMessage ());
319+ assertEquals ("Transfer-Encoding unimplemented: ' cXXhunked' " , ex .getMessage ());
320320 }
321321 }
322322}
You can’t perform that action at this time.
0 commit comments