Skip to content

Commit

Permalink
Merge pull request #4643 from IlshatGaripov/refactoring_fixing_xml_co…
Browse files Browse the repository at this point in the history
…mments_not_zero

Fixing up misleading xml method descriptions
  • Loading branch information
mikkelbu committed Mar 16, 2024
2 parents 7fedfa5 + d0df058 commit 95cd3b3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/NUnitFramework/nunit.framework.legacy/Assert.Conditions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ public static void NotZero(ulong actual, string message, params object?[]? args)
#region Decimals

/// <summary>
/// Asserts that a decimal is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a decimal is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
public static void NotZero(decimal actual)
Expand All @@ -735,7 +735,7 @@ public static void NotZero(decimal actual)
}

/// <summary>
/// Asserts that a decimal is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a decimal is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
/// <param name="message">The message to display in case of failure</param>
Expand All @@ -750,7 +750,7 @@ public static void NotZero(decimal actual, string message, params object?[]? arg
#region Doubles

/// <summary>
/// Asserts that a double is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a double is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
public static void NotZero(double actual)
Expand All @@ -759,7 +759,7 @@ public static void NotZero(double actual)
}

/// <summary>
/// Asserts that a double is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a double is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
/// <param name="message">The message to display in case of failure</param>
Expand All @@ -774,7 +774,7 @@ public static void NotZero(double actual, string message, params object?[]? args
#region Floats

/// <summary>
/// Asserts that a float is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a float is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
public static void NotZero(float actual)
Expand All @@ -783,7 +783,7 @@ public static void NotZero(float actual)
}

/// <summary>
/// Asserts that a float is zero. Returns without throwing an exception when inside a multiple assert block.
/// Asserts that a float is not zero. Returns without throwing an exception when inside a multiple assert block.
/// </summary>
/// <param name="actual">The number to be examined</param>
/// <param name="message">The message to display in case of failure</param>
Expand Down

0 comments on commit 95cd3b3

Please sign in to comment.