Skip to content

Commit

Permalink
- Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Nov 18, 2024
1 parent 2f991ff commit 6fddbe6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EasyPost.Tests/ExceptionsTests/ExceptionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

namespace EasyPost.Tests.ExceptionsTests
{
#pragma warning disable CA2263
public class ExceptionsTests : UnitTest
{
public ExceptionsTests() : base("exceptions")
Expand All @@ -31,6 +32,7 @@ public async Task TestApiExceptionPrettyPrint()

// Generate a dummy HttpResponseMessage with the given status code to parse
HttpStatusCode httpStatusCode = (HttpStatusCode)Enum.Parse(typeof(HttpStatusCode), statusCode.ToString(CultureInfo.InvariantCulture));

HttpResponseMessage response = new() { StatusCode = httpStatusCode };

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

#endregion
}
#pragma warning restore CA2263
}

0 comments on commit 6fddbe6

Please sign in to comment.