From cda7ddff48a4fae0bb1a043595891e86ff2c5bf2 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sat, 22 Jul 2023 22:19:12 +0200 Subject: [PATCH] Fix test case to actually check the ToString() results. --- .../TestCases/Correctness/ValueTypeCall.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs b/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs index 45eaaceb7..82b081632 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs @@ -238,16 +238,16 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness static void ToStringGeneric(ref T mutRef, in T immutableRef) where T : struct { Console.WriteLine("ToStringGeneric:"); - mutRef.ToString(); - mutRef.ToString(); + Console.WriteLine(mutRef.ToString()); + Console.WriteLine(mutRef.ToString()); T copyFromMut = mutRef; - copyFromMut.ToString(); - immutableRef.ToString(); - immutableRef.ToString(); + Console.WriteLine(copyFromMut.ToString()); + Console.WriteLine(immutableRef.ToString()); + Console.WriteLine(immutableRef.ToString()); T copyFromImmutable = immutableRef; - copyFromImmutable.ToString(); - mutRef.ToString(); - immutableRef.ToString(); + Console.WriteLine(copyFromImmutable.ToString()); + Console.WriteLine(mutRef.ToString()); + Console.WriteLine(immutableRef.ToString()); } #endif }