Fixed the analyzer test

This commit is contained in:
David Fowler 2016-01-27 05:55:17 -08:00
parent a35ae177ff
commit 4b80ff7490

View file

@ -54,7 +54,7 @@ namespace Microsoft.DotNet.Tools.Publish.Tests
var buildCmd = new BuildCommand(testProject, output: outputDir);
var result = buildCmd.ExecuteWithCapturedOutput();
result.Should().Pass();
Assert.Contains("CA1018", result.StdErr);
Assert.Contains("CA1018", result.StdOut);
}
private void CopyProjectToTempDir(string projectDir, TempDirectory tempDir)