We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc89a8e commit 90b408cCopy full SHA for 90b408c
1 file changed
tests/abstractions/MultipartBodyTests.cs
@@ -104,8 +104,7 @@ public void AllowsDuplicateEntries()
104
Assert.Equal("fileContent", body.GetPartValue<string>("file", "file.json"));
105
Assert.Equal("fileContent2", body.GetPartValue<string>("file", "file2.json"));
106
107
- //Assert part can only be removed if fileName is specified
108
- Assert.False(body.RemovePart("file"));
+ //Assert part can be removed if fileName is specified
109
Assert.True(body.RemovePart("file", "file.json"));
110
111
//Assert file.json is removed and file2.json is still accessible
0 commit comments