Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit d8704d2

Browse files
committed
Added assert to test
1 parent 746f121 commit d8704d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Microsoft.AspNet.Http.Tests/FormFeatureTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ public async Task ReadFormAsync_MultipartWithFile_ReturnsParsedFormCollection()
215215
Assert.Equal(1, formCollection.Files.Count);
216216

217217
var file = formCollection.Files["myfile1"];
218+
Assert.Equal("myfile1", file.Name);
218219
Assert.Equal("text/html", file.ContentType);
219220
Assert.Equal(@"form-data; name=""myfile1""; filename=""temp.html""", file.ContentDisposition);
220221
var body = file.OpenReadStream();

0 commit comments

Comments
 (0)