Skip to content

Commit

Permalink
- Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Jun 12, 2024
1 parent 6d16214 commit 5618a1b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions EasyPost.Tests/ParametersTests/ParametersTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand All @@ -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.");
}
Expand Down Expand Up @@ -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.");
}
Expand All @@ -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.");
}
Expand Down Expand Up @@ -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.");
}
Expand All @@ -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.");
}
Expand Down

0 comments on commit 5618a1b

Please sign in to comment.