Skip to content

Commit

Permalink
Fix for Cosmos embedded line ending (#30379)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcvickers authored Mar 2, 2023
1 parent 27dd0e7 commit c86ffd5
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1901,19 +1901,21 @@ public override async Task Random_next_is_not_funcletized_6(bool async)
AssertSql();
}

[ConditionalTheory(Skip = "Issue#27222")]
public override async Task Environment_newline_is_funcletized(bool async)
{
await base.Environment_newline_is_funcletized(async);

AssertSql(
var sql = Fixture.TestSqlLoggerFactory.SqlStatements[0];
Assert.StartsWith("@__NewLine_0='", sql);
Assert.EndsWith(
"""
@__NewLine_0='\r\n'
'
SELECT c
FROM root c
WHERE ((c[""Discriminator""] = ""Customer"") AND CONTAINS(c[""CustomerID""], @__NewLine_0))
""");
WHERE ((c["Discriminator"] = "Customer") AND CONTAINS(c["CustomerID"], @__NewLine_0))
""",
sql);
}

public override async Task String_concat_with_navigation1(bool async)
Expand Down

0 comments on commit c86ffd5

Please sign in to comment.