Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenWeatherford committed Nov 1, 2024
1 parent 4216e9e commit 07f1958
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ public void LimitShouldBeInFormattedMessage()
[DataRow(
1, 800, """
resource r% 'Microsoft.Network/virtualNetworks@2021-05-01' = {
name: 'r%'
name: 'r%'
}
""",
new string[] { "Too many resources. Number of resources is limited to 1." })]
new string[] { })]
[DataRow(
1, 801, """
resource r% 'Microsoft.Network/virtualNetworks@2021-05-01' = {
name: 'r%'
name: 'r%'
}
""",
new string[] { "Too many resources. Number of resources is limited to 1." })]
new string[] { "Too many resources. Number of resources is limited to 800." })]
[DataTestMethod]
public void TooManyResources(int i, int j, string pattern, string[] expectedMessages)
{
Expand Down

0 comments on commit 07f1958

Please sign in to comment.