Skip to content

Commit

Permalink
Updated expected whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Nov 15, 2023
1 parent 3f87b05 commit 4c077ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions MarkMpn.Sql4Cds.Engine.Tests/AdoProviderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ DECLARE @json NVARCHAR(MAX)

Assert.IsTrue(reader.Read());
Assert.AreEqual("skills", reader.GetString(0));
Assert.AreEqual("[\r\n \"SQL\",\r\n \"C#\",\r\n \"MVC\"\r\n]", reader.GetString(1));
Assert.AreEqual("[\"SQL\",\"C#\",\"MVC\"]", reader.GetString(1));
Assert.AreEqual(4, reader.GetInt32(2));

Assert.IsFalse(reader.Read());
Expand Down Expand Up @@ -1663,20 +1663,20 @@ [Order] NVARCHAR(MAX) AS JSON
Assert.AreEqual(new DateTime(2011, 5, 31), reader.GetDateTime(1));
Assert.AreEqual("AW29825", reader.GetString(2));
Assert.AreEqual(1, reader.GetInt32(3));
Assert.AreEqual(@"{
""Number"": ""SO43659"",
""Date"": ""2011-05-31T00:00:00""
}", reader.GetString(4));
Assert.AreEqual(@"{
""Number"":""SO43659"",
""Date"":""2011-05-31T00:00:00""
}", reader.GetString(4));

Assert.IsTrue(reader.Read());
Assert.AreEqual("SO43661", reader.GetString(0));
Assert.AreEqual(new DateTime(2011, 6, 1), reader.GetDateTime(1));
Assert.AreEqual("AW73565", reader.GetString(2));
Assert.AreEqual(3, reader.GetInt32(3));
Assert.AreEqual(@"{
""Number"": ""SO43661"",
""Date"": ""2011-06-01T00:00:00""
}", reader.GetString(4));
Assert.AreEqual(@"{
""Number"":""SO43661"",
""Date"":""2011-06-01T00:00:00""
}", reader.GetString(4));

Assert.IsFalse(reader.Read());
}
Expand Down

0 comments on commit 4c077ca

Please sign in to comment.