From 9de0c8dafa9ca202009422dbeac04b0440b820fe Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Sun, 2 Jun 2019 17:25:38 -0700 Subject: [PATCH] Fix tests to match exception output change (dotnet/corefx#38145) Commit migrated from https://github.com/dotnet/corefx/commit/360621af9620de205193f627ae84c41ddec60551 --- .../System.Runtime.Extensions/tests/System/EnvironmentTests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libraries/System.Runtime.Extensions/tests/System/EnvironmentTests.cs b/src/libraries/System.Runtime.Extensions/tests/System/EnvironmentTests.cs index e331f78..a4e3341 100644 --- a/src/libraries/System.Runtime.Extensions/tests/System/EnvironmentTests.cs +++ b/src/libraries/System.Runtime.Extensions/tests/System/EnvironmentTests.cs @@ -232,7 +232,6 @@ namespace System.Tests handle.Process = null; p.WaitForExit(); string consoleOutput = p.StandardError.ReadToEnd(); - Assert.Contains("Exception details:", consoleOutput); Assert.Contains("ArgumentException:", consoleOutput); Assert.Contains("bad arg", consoleOutput); } @@ -256,7 +255,6 @@ namespace System.Tests handle.Process = null; p.WaitForExit(); string consoleOutput = p.StandardError.ReadToEnd(); - Assert.Contains("Exception details:", consoleOutput); Assert.Contains("StackOverflowException", consoleOutput); Assert.Contains("SO exception", consoleOutput); } @@ -280,7 +278,6 @@ namespace System.Tests handle.Process = null; p.WaitForExit(); string consoleOutput = p.StandardError.ReadToEnd(); - Assert.Contains("Exception details:", consoleOutput); Assert.Contains("first exception", consoleOutput); Assert.Contains("inner exception", consoleOutput); Assert.Contains("ArgumentException", consoleOutput); -- 2.7.4