Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Sep 30, 2024
1 parent e5acb95 commit 94d1144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/DacpacTool.Tests/PackageAnalyzerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void RunsAnalyzerWithWarningsAsErrorsUsingWildcard()
// Assert
testConsole.Lines.Count.ShouldBe(16);

testConsole.Lines.Count(l => l.Contains("Loading analyzers: ")).ShouldBe(1);
testConsole.Lines.Count(l => l.Contains("Using additional analyzers: ")).ShouldBe(1);
testConsole.Lines.ShouldContain($"Analyzing package '{result.fileInfo.FullName}'");
testConsole.Lines.ShouldNotContain("DacpacTool warning SQLPROJ0001: No additional rules files found, consider adding more rules via PackageReference - see the readme here: https://github.com/rr-wfm/MSBuild.Sdk.SqlProj.");
testConsole.Lines.ShouldContain($"proc1.sql(1,47): Error SRD0006 : SqlServer.Rules : Avoid using SELECT *.");
Expand Down

0 comments on commit 94d1144

Please sign in to comment.