HDDS-810. Move the "\r\n" at the chunk end in TestSignedChunksInputStream#singlechunkwithoutend.
Contributed by Chencan.
This commit is contained in:
parent
f0ce072934
commit
00a67f770e
@ -62,7 +62,7 @@ public void singlechunkwithoutend() throws IOException {
|
|||||||
InputStream is = fileContent("0A;chunk-signature"
|
InputStream is = fileContent("0A;chunk-signature"
|
||||||
+
|
+
|
||||||
"=23abb2bd920ddeeaac78a63ed808bc59fa6e7d3ef0e356474b82cdc2f8c93c40\r"
|
"=23abb2bd920ddeeaac78a63ed808bc59fa6e7d3ef0e356474b82cdc2f8c93c40\r"
|
||||||
+ "\n1234567890\r\n");
|
+ "\n1234567890");
|
||||||
String result = IOUtils.toString(is, Charset.forName("UTF-8"));
|
String result = IOUtils.toString(is, Charset.forName("UTF-8"));
|
||||||
Assert.assertEquals("1234567890", result);
|
Assert.assertEquals("1234567890", result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user