From 3ae7dbf558348b1c05e4e2c4a949cfe92b1070ad Mon Sep 17 00:00:00 2001 From: Johannes Karder Date: Thu, 1 Jul 2021 08:02:52 +0000 Subject: [PATCH] #3017: show exception message in test results git-svn-id: https://src.heuristiclab.com/svn/core/trunk@18001 2abd9481-f8db-48e9-bd25-06bc13291c1b --- HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs b/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs index ad229de14f..b511bbbcd8 100644 --- a/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs +++ b/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs @@ -20,7 +20,7 @@ public static void RunAlgorithm(IAlgorithm a) { a.ExceptionOccurred += (sender, e) => { ex = e.Value; }; a.Prepare(); a.Start(); - Assert.IsNull(ex); + Assert.IsNull(ex, ex.ToString()); } public static double GetDoubleResult(IAlgorithm a, string resultName) {