mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-27 08:49:04 -10:00
Commit migrated from https://github.com/dotnet/corefx/commit/98bef0d6aa268bffd640e9de165a670157b4fb28
25 lines
698 B
C#
25 lines
698 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using Xunit;
|
|
|
|
namespace System.Net.Http.Functional.Tests
|
|
{
|
|
public partial class HttpMethodTest
|
|
{
|
|
[Fact]
|
|
public void Patch_VerifyValue_PropertyNameMatchesHttpMethodName()
|
|
{
|
|
Assert.Equal("PATCH", HttpMethod.Patch.Method);
|
|
}
|
|
|
|
static partial void AddStaticHttpMethods(List<object[]> staticHttpMethods)
|
|
{
|
|
staticHttpMethods.Add(new object[] { HttpMethod.Patch });
|
|
}
|
|
}
|
|
}
|