Skip to content

Commit

Permalink
test: use writeline instead of concat string to add \r on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed Jul 31, 2024
1 parent aab2803 commit 4387c85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Atlas.Provider.Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void Main(
var sql = executor.ScriptDbContext(name);
if (ctxInfo["ProviderName"]!.ToString()!.EndsWith("SqlServer"))
{
sql = "-- atlas:delimiter GO \n" + sql;
Console.WriteLine("-- atlas:delimiter GO");
}
if (!string.IsNullOrEmpty(sql))
{
Expand Down
2 changes: 1 addition & 1 deletion test/Atlas.Provider.Test/data/sqlserver_default
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- atlas:delimiter GO
-- atlas:delimiter GO
CREATE TABLE [Blogs] (
[BlogId] int NOT NULL IDENTITY,
[Url] varchar(200) NOT NULL,
Expand Down

0 comments on commit 4387c85

Please sign in to comment.