Skip to content

Commit

Permalink
Change test baseline to new single quote escaping (additional single …
Browse files Browse the repository at this point in the history
…quote instead of leading backslash).

Signed-off-by: Laurents Meyer <[email protected]>
  • Loading branch information
lauxjpn committed Sep 21, 2019
1 parent e9a334d commit 1618786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/MySqlConnector.Tests/StatementPreparerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ public void FormatParameter(object parameterValue, string replacedValue)
new object[] { 1.0123456789012346, "1.0123456789012346" },
new object[] { 123456789.123456789m, "123456789.123456789" },
new object[] { "1234", "'1234'" },
new object[] { "it's", "'it\\'s'" },
new object[] { "it's", "'it''s'" },
new object[] { 'a', "'a'" },
new object[] { '\'', "'\\''" },
new object[] { '\'', "''''" },
new object[] { '\\', "'\\\\'" },
new object[] { 'ffi', "'ffi'" },
new object[] { new DateTime(1234, 12, 23, 12, 34, 56, 789), "timestamp('1234-12-23 12:34:56.789000')" },
Expand Down

0 comments on commit 1618786

Please sign in to comment.