Skip to content

Commit

Permalink
Clean up migration test SQL assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jul 29, 2019
1 parent c4d3e5c commit 8cf395b
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 730 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -753,5 +753,8 @@ protected virtual void Generate(Action<ModelBuilder> buildAction, params Migrati
"GO" + EOL + EOL,
batch.Select(b => b.CommandText));
}

protected void AssertSql(string expected)
=> Assert.Equal(expected, Sql, ignoreLineEndingDifferences: true);
}
}
Loading

0 comments on commit 8cf395b

Please sign in to comment.