Skip to content

Commit

Permalink
chore(tests): resolve warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
feinoujc committed Feb 29, 2024
1 parent 6ab1553 commit 7aa187a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions tests/AttachMimeTypes.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Mandrill.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Tests
Expand All @@ -23,7 +17,7 @@ public void AreAllEnumValuesPresent_ShouldReturnTrueWhenAllValuesPresent()
{
MandrillAttachmentMime.GetMimeType(myType);
}
catch (Exception ex)
catch
{
Assert.Fail($"{myType} is not in MandrillAttachmentMime dictionary");
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Exports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected async Task<T> HandleExportThrottleError<T>(Task<T> method)
{
throw new ExportThrottledTestException(mex.Message, mex);
}
throw mex;
throw;
}
}

Expand Down

0 comments on commit 7aa187a

Please sign in to comment.