From fbb913dcd660744fbe08f90d1a7c642ec9c3de1e Mon Sep 17 00:00:00 2001 From: Laurents Meyer Date: Sat, 21 Sep 2019 21:29:37 +0200 Subject: [PATCH] Change test baseline to new single quote escaping (additional single quote instead of leading backslash). --- tests/MySqlConnector.Tests/StatementPreparerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/MySqlConnector.Tests/StatementPreparerTests.cs b/tests/MySqlConnector.Tests/StatementPreparerTests.cs index 550720eba..c5d9af0bb 100644 --- a/tests/MySqlConnector.Tests/StatementPreparerTests.cs +++ b/tests/MySqlConnector.Tests/StatementPreparerTests.cs @@ -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')" },