Skip to content

Commit e775a1a

Browse files
committed
(GH-123) Fix the unit test expectations
1 parent 9ad5bb6 commit e775a1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/HttpMultipartParser.UnitTests/ParserScenarios/BoundaryEndsWithDoubleDash.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ file content here 2
2929
_testData,
3030
Enumerable.Empty<ParameterPart>().ToList(),
3131
new List<FilePart>() {
32-
new FilePart("file1", "file1.txt", TestUtil.StringToStreamNoBom("file content here")),
33-
new FilePart("file2", "file2.txt", TestUtil.StringToStreamNoBom("file content here 2")),
32+
new FilePart("file1", "file1.txt", TestUtil.StringToStreamNoBom("file content here"), (new[] { new KeyValuePair<string, string>("charset", "UTF-8") }).ToDictionary(kvp => kvp.Key, kvp => kvp.Value)),
33+
new FilePart("file2", "file2.txt", TestUtil.StringToStreamNoBom("file content here 2"), (new[] { new KeyValuePair<string, string>("charset", "UTF-8") }).ToDictionary(kvp => kvp.Key, kvp => kvp.Value)),
3434
}
3535
);
3636

0 commit comments

Comments
 (0)