Skip to content

Commit

Permalink
Fix analyzer issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball committed Jun 13, 2024
1 parent ab61e38 commit 59383c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void RequiredWidgetsNameMissing()
public void RequiredWidgetMatrixNameMissing()
{
var dto = CreateRequiredRequest();
dto.WidgetMatrix = new[] { new[] { new WidgetDto() } };
dto.WidgetMatrix = [[new WidgetDto()]];
dto.Validate(out var errorMessage).Should().BeFalse();
errorMessage.Should().Be(ServiceDataUtility.GetInvalidFieldErrorMessage("widgetMatrix[0][0]", ServiceDataUtility.GetRequiredFieldErrorMessage("name")));
}
Expand Down

0 comments on commit 59383c3

Please sign in to comment.