File tree 1 file changed +2
-0
lines changed
src/libraries/System.Net.Http/tests/FunctionalTests 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public void StaticProperties_VerifyValues_PropertyNameMatchesHttpMethodName()
37
37
Assert . Equal ( "HEAD" , HttpMethod . Head . Method ) ;
38
38
Assert . Equal ( "OPTIONS" , HttpMethod . Options . Method ) ;
39
39
Assert . Equal ( "TRACE" , HttpMethod . Trace . Method ) ;
40
+ Assert . Equal ( "QUERY" , HttpMethod . Query . Method ) ;
40
41
}
41
42
42
43
[ Fact ]
@@ -160,6 +161,7 @@ public static IEnumerable<object[]> Parse_UsesKnownInstances_MemberData()
160
161
yield return new object [ ] { HttpMethod . Patch , nameof ( HttpMethod . Patch ) } ;
161
162
yield return new object [ ] { HttpMethod . Post , nameof ( HttpMethod . Post ) } ;
162
163
yield return new object [ ] { HttpMethod . Put , nameof ( HttpMethod . Put ) } ;
164
+ yield return new object [ ] { HttpMethod . Query , nameof ( HttpMethod . Query ) } ;
163
165
yield return new object [ ] { HttpMethod . Trace , nameof ( HttpMethod . Trace ) } ;
164
166
}
165
167
You can’t perform that action at this time.
0 commit comments