Skip to content

Commit d1b7139

Browse files
authored
test: update tests for query method
1 parent 1ee6246 commit d1b7139

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libraries/System.Net.Http/tests/FunctionalTests/HttpMethodTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public void StaticProperties_VerifyValues_PropertyNameMatchesHttpMethodName()
3737
Assert.Equal("HEAD", HttpMethod.Head.Method);
3838
Assert.Equal("OPTIONS", HttpMethod.Options.Method);
3939
Assert.Equal("TRACE", HttpMethod.Trace.Method);
40+
Assert.Equal("QUERY", HttpMethod.Query.Method);
4041
}
4142

4243
[Fact]
@@ -160,6 +161,7 @@ public static IEnumerable<object[]> Parse_UsesKnownInstances_MemberData()
160161
yield return new object[] { HttpMethod.Patch, nameof(HttpMethod.Patch) };
161162
yield return new object[] { HttpMethod.Post, nameof(HttpMethod.Post) };
162163
yield return new object[] { HttpMethod.Put, nameof(HttpMethod.Put) };
164+
yield return new object[] { HttpMethod.Query, nameof(HttpMethod.Query) };
163165
yield return new object[] { HttpMethod.Trace, nameof(HttpMethod.Trace) };
164166
}
165167

0 commit comments

Comments
 (0)