From 40c64357106b305dfdf6e151dc2b9d2d9a576004 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Sun, 15 Sep 2024 23:18:24 +1000 Subject: [PATCH] Constructer typo (#3843) --- .../Attributes/ExpectedExceptionAttributeTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/UnitTests/TestFramework.UnitTests/Attributes/ExpectedExceptionAttributeTests.cs b/test/UnitTests/TestFramework.UnitTests/Attributes/ExpectedExceptionAttributeTests.cs index b8ba779278..5f36c810c2 100644 --- a/test/UnitTests/TestFramework.UnitTests/Attributes/ExpectedExceptionAttributeTests.cs +++ b/test/UnitTests/TestFramework.UnitTests/Attributes/ExpectedExceptionAttributeTests.cs @@ -15,7 +15,7 @@ public class ExpectedExceptionAttributeTests : TestContainer /// /// ExpectedExceptionAttribute constructor should throw ArgumentNullException when parameter exceptionType = null. /// - public void ExpectedExceptionAttributeConstructerShouldThrowArgumentNullExceptionWhenExceptionTypeIsNull() + public void ExpectedExceptionAttributeConstructorShouldThrowArgumentNullExceptionWhenExceptionTypeIsNull() { static void A() => _ = new ExpectedExceptionAttribute(null, "Dummy"); @@ -26,7 +26,7 @@ public void ExpectedExceptionAttributeConstructerShouldThrowArgumentNullExceptio /// /// ExpectedExceptionAttribute constructor should throw ArgumentNullException when parameter exceptionType = typeof(AnyClassNotDerivedFromExceptionClass). /// - public void ExpectedExceptionAttributeConstructerShouldThrowArgumentException() + public void ExpectedExceptionAttributeConstructorShouldThrowArgumentException() { static void A() => _ = new ExpectedExceptionAttribute(typeof(ExpectedExceptionAttributeTests), "Dummy"); @@ -37,7 +37,7 @@ public void ExpectedExceptionAttributeConstructerShouldThrowArgumentException() /// /// ExpectedExceptionAttribute constructor should not throw exception when parameter exceptionType = typeof(AnyClassDerivedFromExceptionClass). /// - public void ExpectedExceptionAttributeConstructerShouldNotThrowAnyException() => _ = new ExpectedExceptionAttribute(typeof(DummyTestClassDerivedFromException), "Dummy"); + public void ExpectedExceptionAttributeConstructorShouldNotThrowAnyException() => _ = new ExpectedExceptionAttribute(typeof(DummyTestClassDerivedFromException), "Dummy"); public void GetExceptionMsgShouldReturnExceptionMessage() {