Skip to content

Commit

Permalink
Fixed Increment function in MySqlX.Data.Tests
Browse files Browse the repository at this point in the history
Change-Id: I3a438bb9a1d7f945fdaa57949278e005081214d1
  • Loading branch information
omachavez committed Apr 12, 2023
1 parent d3ad54b commit 7ab5e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MySQL.Data/tests/MySqlX.Data.Tests/CrudInsertTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2242,7 2242,7 @@ public void CollectionAddMultipleDocsSameId()
}

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

if (mode == Mode.AlphaNumeric || mode == Mode.Alpha)
for (char c = 'a'; c <= 'z'; c )
for (char c = 'a'; c <= 'f'; c )
characters.Add(c);

// Loop from end to beginning
Expand Down

0 comments on commit 7ab5e74

Please sign in to comment.