From 94d114467e71d2158cf73849e448536fdf9e40ab Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Mon, 30 Sep 2024 16:23:03 +0200 Subject: [PATCH] fix test --- test/DacpacTool.Tests/PackageAnalyzerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/DacpacTool.Tests/PackageAnalyzerTests.cs b/test/DacpacTool.Tests/PackageAnalyzerTests.cs index 944acf0a..99c84a68 100644 --- a/test/DacpacTool.Tests/PackageAnalyzerTests.cs +++ b/test/DacpacTool.Tests/PackageAnalyzerTests.cs @@ -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 *.");