Skip to content

Commit f739ef6

Browse files
authored
Correct spelling of textbox in ErrorProviderTest.cs (#13068)
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13068)
1 parent 71ad360 commit f739ef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/ErrorProviderTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private void submitButton_Click(object sender, EventArgs e)
1515
{
1616
if (textBox1.TextLength is < 5 or > 10)
1717
{
18-
errorProvider1.SetError(textBox1, "The length of the testbox is invalid!");
18+
errorProvider1.SetError(textBox1, "The length of the textbox is invalid!");
1919
}
2020
else
2121
{
@@ -25,7 +25,7 @@ private void submitButton_Click(object sender, EventArgs e)
2525

2626
if (textBox2.TextLength is < 5 or > 20)
2727
{
28-
errorProvider2.SetError(textBox2, "The length of the testbox is invalid!");
28+
errorProvider2.SetError(textBox2, "The length of the textbox is invalid!");
2929
}
3030
else
3131
{

0 commit comments

Comments
 (0)