Skip to content

Commit

Permalink
Add forgotten delimiter in raw SQL test
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Apr 25, 2019
1 parent da97584 commit c7564b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ public virtual void FromSqlRaw_does_not_parameterize_interpolated_string()
var tableName = "Orders";
var max = 10250;
var query = context.Orders.FromSqlRaw(
NormalizeDelimetersInRawString($"SELECT * FROM {tableName} WHERE [OrderID] < {{0}}"), max)
NormalizeDelimetersInRawString($"SELECT * FROM [{tableName}] WHERE [OrderID] < {{0}}"), max)
.ToList();

Assert.Equal(2, query.Count);
Expand Down

0 comments on commit c7564b9

Please sign in to comment.