Fixed the analyzer test
This commit is contained in:
parent
a35ae177ff
commit
4b80ff7490
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ namespace Microsoft.DotNet.Tools.Publish.Tests
|
||||||
var buildCmd = new BuildCommand(testProject, output: outputDir);
|
var buildCmd = new BuildCommand(testProject, output: outputDir);
|
||||||
var result = buildCmd.ExecuteWithCapturedOutput();
|
var result = buildCmd.ExecuteWithCapturedOutput();
|
||||||
result.Should().Pass();
|
result.Should().Pass();
|
||||||
Assert.Contains("CA1018", result.StdErr);
|
Assert.Contains("CA1018", result.StdOut);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CopyProjectToTempDir(string projectDir, TempDirectory tempDir)
|
private void CopyProjectToTempDir(string projectDir, TempDirectory tempDir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue