Skip to content

Commit 6fddbe6

Browse files
committed
- Linting
1 parent 2f991ff commit 6fddbe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

EasyPost.Tests/ExceptionsTests/ExceptionsTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
namespace EasyPost.Tests.ExceptionsTests
1717
{
18+
#pragma warning disable CA2263
1819
public class ExceptionsTests : UnitTest
1920
{
2021
public ExceptionsTests() : base("exceptions")
@@ -31,6 +32,7 @@ public async Task TestApiExceptionPrettyPrint()
3132

3233
// Generate a dummy HttpResponseMessage with the given status code to parse
3334
HttpStatusCode httpStatusCode = (HttpStatusCode)Enum.Parse(typeof(HttpStatusCode), statusCode.ToString(CultureInfo.InvariantCulture));
35+
3436
HttpResponseMessage response = new() { StatusCode = httpStatusCode };
3537

3638
ApiError generatedError = await ApiError.FromErrorResponse(response);
@@ -480,4 +482,5 @@ public async Task TestHTTPTimeoutFriendlyException()
480482

481483
#endregion
482484
}
485+
#pragma warning restore CA2263
483486
}

0 commit comments

Comments
 (0)