From 8de7e2835d78c5b03e84f0a148e60dbfbde8ac5e Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Mon, 27 Mar 2017 13:30:10 -0700 Subject: [PATCH] Reorder asserts in BuildWithCommandLine so we can see log output during test failures. --- .../IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs index 29870cd1174..182456fab5c 100644 --- a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs +++ b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs @@ -54,9 +54,9 @@ public void BuildWithCommandLine() var process = Process.Start(pathToDevenv, commandLine); process.WaitForExit(); - Assert.Equal(0, process.ExitCode); - Assert.Contains("Rebuild All: 1 succeeded, 0 failed, 0 skipped", File.ReadAllText(logFileName)); + + Assert.Equal(0, process.ExitCode); } } } -- GitLab