Skip to content

Commit 90b408c

Browse files
author
Roman Ettlinger
committed
fix Test assuming breaking behaviour
1 parent fc89a8e commit 90b408c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/abstractions/MultipartBodyTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ public void AllowsDuplicateEntries()
104104
Assert.Equal("fileContent", body.GetPartValue<string>("file", "file.json"));
105105
Assert.Equal("fileContent2", body.GetPartValue<string>("file", "file2.json"));
106106

107-
//Assert part can only be removed if fileName is specified
108-
Assert.False(body.RemovePart("file"));
107+
//Assert part can be removed if fileName is specified
109108
Assert.True(body.RemovePart("file", "file.json"));
110109

111110
//Assert file.json is removed and file2.json is still accessible

0 commit comments

Comments
 (0)