Skip to content

Commit

Permalink
Constructer typo (#3843)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Sep 15, 2024
1 parent 2a26a70 commit 40c6435
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ExpectedExceptionAttributeTests : TestContainer
/// <summary>
/// ExpectedExceptionAttribute constructor should throw ArgumentNullException when parameter exceptionType = null.
/// </summary>
public void ExpectedExceptionAttributeConstructerShouldThrowArgumentNullExceptionWhenExceptionTypeIsNull()
public void ExpectedExceptionAttributeConstructorShouldThrowArgumentNullExceptionWhenExceptionTypeIsNull()
{
static void A() => _ = new ExpectedExceptionAttribute(null, "Dummy");

Expand All @@ -26,7 +26,7 @@ public void ExpectedExceptionAttributeConstructerShouldThrowArgumentNullExceptio
/// <summary>
/// ExpectedExceptionAttribute constructor should throw ArgumentNullException when parameter exceptionType = typeof(AnyClassNotDerivedFromExceptionClass).
/// </summary>
public void ExpectedExceptionAttributeConstructerShouldThrowArgumentException()
public void ExpectedExceptionAttributeConstructorShouldThrowArgumentException()
{
static void A() => _ = new ExpectedExceptionAttribute(typeof(ExpectedExceptionAttributeTests), "Dummy");

Expand All @@ -37,7 +37,7 @@ public void ExpectedExceptionAttributeConstructerShouldThrowArgumentException()
/// <summary>
/// ExpectedExceptionAttribute constructor should not throw exception when parameter exceptionType = typeof(AnyClassDerivedFromExceptionClass).
/// </summary>
public void ExpectedExceptionAttributeConstructerShouldNotThrowAnyException() => _ = new ExpectedExceptionAttribute(typeof(DummyTestClassDerivedFromException), "Dummy");
public void ExpectedExceptionAttributeConstructorShouldNotThrowAnyException() => _ = new ExpectedExceptionAttribute(typeof(DummyTestClassDerivedFromException), "Dummy");

public void GetExceptionMsgShouldReturnExceptionMessage()
{
Expand Down

0 comments on commit 40c6435

Please sign in to comment.