8000 Fixed Increment function in MySqlX.Data.Tests · mysql/mysql-connector-net@7ab5e74 · GitHub
[go: up one dir, main page]

Skip to content < 8000 span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis">

Commit 7ab5e74

Browse files
committed
Fixed Increment function in MySqlX.Data.Tests
Change-Id: I3a438bb9a1d7f945fdaa57949278e005081214d1
1 parent d3ad54b commit 7ab5e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MySQL.Data/tests/MySqlX.Data.Tests/CrudInsertTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,7 @@ public void CollectionAddMultipleDocsSameId()
22422242
}
22432243

22442244
[Test, Description("Verify the behaviour if a sequence is incremented by the user and added as _id for the document")]
2245-
public void VerifySecuenceAndIdAdded()
2245+
public void VerifySequenceAndIdAdded()
22462246
{
22472247
if (!session.Version.isAtLeast(8, 0, 11)) Assert.Ignore("This test is for MySql 8.0.11 or higher.");
22482248
string incrementedString = null, generatedString = null;
@@ -2473,7 +2473,7 @@ public static string Increment(string text, Mode mode)
24732473
characters.Add(c);
24742474

24752475
if (mode == Mode.AlphaNumeric || mode == Mode.Alpha)
2476-
for (char c = 'a'; c <= 'z'; c++)
2476+
for (char c = 'a'; c <= 'f'; c++)
24772477
characters.Add(c);
24782478

24792479
// Loop from end to beginning

0 commit comments

Comments
 (0)
0