Skip to content

Commit dc00bb2

Browse files
committed
Corrected the wrong character testbox in ErrorProviderTest.cs
1 parent 042c2b9 commit dc00bb2

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
@@ -14,7 +14,7 @@ private void submitButton_Click(object sender, EventArgs e)
1414
{
1515
if (textBox1.TextLength < 5 || textBox1.TextLength > 10)
1616
{
17-
errorProvider1.SetError(textBox1, "The length of the testbox is invalid!");
17+
errorProvider1.SetError(textBox1, "The length of the textbox is invalid!");
1818
}
1919
else
2020
{
@@ -24,7 +24,7 @@ private void submitButton_Click(object sender, EventArgs e)
2424

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

0 commit comments

Comments
 (0)