Skip to content

Commit

Permalink
Update NullableAssert.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
neilr81 authored Jan 17, 2024
1 parent 453370a commit 3905f0c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Testing.Helpers/NullableAssert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ namespace Microsoft.Omex.Extensions.Testing.Helpers
/// </summary>
public static class NullableAssert
{
/// <summary>
/// Tests whether the specified object is non-null and throws an exception if it is null
/// </summary>
public static void IsNotNull([NotNull] object? value, string message = "", params object[] parameters) =>
#pragma warning disable CS8777 // Assert.IsNotNull would throw if object is null
Assert.IsNotNull(value, message, parameters);
#pragma warning restore CS8777

/// <summary>
/// Tests whether the specified condition is true and throws an exception if the condition is false.
/// </summary>
Expand Down

0 comments on commit 3905f0c

Please sign in to comment.