From 0465cc847516dc104218308846163555c5ff7042 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sat, 28 Sep 2019 14:08:42 +0200 Subject: [PATCH] Adjust expected output in ILPretty tests --- .../TestCases/ILPretty/CS1xSwitch_Debug.cs | 2 +- .../TestCases/ILPretty/CS1xSwitch_Release.cs | 2 +- .../TestCases/ILPretty/FSharpUsing_Debug.cs | 2 +- .../TestCases/ILPretty/FSharpUsing_Release.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.cs b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.cs index d927e3fd0..419acf191 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.cs @@ -270,7 +270,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public static string SwitchOverBool(bool b) { - Console.WriteLine("SwitchOverBool: " + b.ToString()); + Console.WriteLine("SwitchOverBool: " + b); switch (b) { case true: return bool.TrueString; diff --git a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Release.cs b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Release.cs index d927e3fd0..419acf191 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Release.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Release.cs @@ -270,7 +270,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public static string SwitchOverBool(bool b) { - Console.WriteLine("SwitchOverBool: " + b.ToString()); + Console.WriteLine("SwitchOverBool: " + b); switch (b) { case true: return bool.TrueString; diff --git a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Debug.cs b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Debug.cs index 914c94a4e..b4ab3c3d3 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Debug.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Debug.cs @@ -36,7 +36,7 @@ public static class FSharpUsingPatterns num = fileStream.ReadByte(); } int num2 = num; - Console.WriteLine("read:" + num2.ToString()); + Console.WriteLine("read:" + num2); } public static void sample5() diff --git a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Release.cs b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Release.cs index 2a9e58dd9..355a18d58 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Release.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpUsing_Release.cs @@ -36,7 +36,7 @@ public static class FSharpUsingPatterns num = fileStream.ReadByte(); } int num2 = num; - Console.WriteLine("read:" + num2.ToString()); + Console.WriteLine("read:" + num2); } public static void sample5()