This repository was archived by the owner on Mar 19, 2019. It is now read-only.
File tree 2 files changed +2
-2
lines changed
Microsoft.AspNetCore.Server.WebListener.FunctionalTests
Microsoft.Net.Http.Server.FunctionalTests 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public async Task Response_ServerSendsCustomStatus_NoReasonPhrase()
97
97
{
98
98
HttpResponseMessage response = await SendRequestAsync ( address ) ;
99
99
Assert . Equal ( 901 , ( int ) response . StatusCode ) ;
100
- Assert . True ( string . IsNullOrEmpty ( response . ReasonPhrase ) ) ; // https://github.com/dotnet/corefx/issues/6721
100
+ Assert . Equal ( string . Empty , response . ReasonPhrase ) ;
101
101
Assert . Equal ( string . Empty , await response . Content . ReadAsStringAsync ( ) ) ;
102
102
}
103
103
}
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public async Task Response_ServerSendsCustomStatus_NoReasonPhrase()
87
87
88
88
HttpResponseMessage response = await responseTask ;
89
89
Assert . Equal ( 901 , ( int ) response . StatusCode ) ;
90
- Assert . True ( string . IsNullOrEmpty ( response . ReasonPhrase ) ) ; // https://github.com/dotnet/corefx/issues/6721
90
+ Assert . Equal ( string . Empty , response . ReasonPhrase ) ;
91
91
Assert . Equal ( string . Empty , await response . Content . ReadAsStringAsync ( ) ) ;
92
92
}
93
93
}
You can’t perform that action at this time.
0 commit comments