Skip to content

Commit 5b7638a

Browse files
committed
Typo
1 parent b39525f commit 5b7638a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,9 @@ public void AutoFitMaxExperimentTimeTest(int iteration)
408408
// exception and all of them are grouped inside an AggregateException
409409
// Must check that all exceptions are the expected one.
410410
containsMessage = true;
411-
Output.WriteLine("Printing inner exceptions ... ");
412411
foreach (var ex in lastAggregateException.Flatten().InnerExceptions)
413412
{
414-
Output.WriteLine(ex.Message);
415-
if (!ex.Message.Contains("Operation was cancelled"))
413+
if (!ex.Message.Contains(expectedExceptionMessage))
416414
{
417415
containsMessage = false;
418416
}

0 commit comments

Comments
 (0)