From 5618a1bf0fa4804036db3677c2237899802669c8 Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Wed, 12 Jun 2024 11:10:18 -0600 Subject: [PATCH] - Linting --- .../ParametersTests/ParametersTest.cs | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/EasyPost.Tests/ParametersTests/ParametersTest.cs b/EasyPost.Tests/ParametersTests/ParametersTest.cs index 2bccb0cc..e623546b 100644 --- a/EasyPost.Tests/ParametersTests/ParametersTest.cs +++ b/EasyPost.Tests/ParametersTests/ParametersTest.cs @@ -254,7 +254,8 @@ public void TestOneOrOtherDependentTopLevelParameters() try { parametersWithOneOrOtherInterdependenceOnlyASet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if only A is set."); } @@ -268,7 +269,8 @@ public void TestOneOrOtherDependentTopLevelParameters() try { parametersWithOneOrOtherInterdependenceOnlyBSet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if only B is set."); } @@ -306,7 +308,8 @@ public void TestBothOrNeitherDependentTopLevelParameters() try { parametersWithBothOrNeitherInterdependenceBothSet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if both A and B are set."); } @@ -317,7 +320,8 @@ public void TestBothOrNeitherDependentTopLevelParameters() try { parametersWithBothOrNeitherInterdependenceNeitherSet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if neither A nor B are set."); } @@ -352,7 +356,8 @@ public void TestDependentNestedParameters() try { parametersWithInterdependenceOnlyASet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if only A is set."); } @@ -366,7 +371,8 @@ public void TestDependentNestedParameters() try { parametersWithInterdependenceOnlyBSet.ToDictionary(); - } catch (Exceptions.General.InvalidParameterPairError) + } + catch (Exceptions.General.InvalidParameterPairError) { Assert.Fail("Should not throw exception if only B is set."); }