From 18b0c1bef0fadeb72e8dc14c81260e833b8b8c23 Mon Sep 17 00:00:00 2001 From: Max Korbel Date: Thu, 22 Feb 2024 10:44:49 -0800 Subject: [PATCH] fix lint issue --- lib/src/test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/test.dart b/lib/src/test.dart index 7afc345..bb15e7b 100644 --- a/lib/src/test.dart +++ b/lib/src/test.dart @@ -148,7 +148,7 @@ abstract class Test extends Component { _testPrint('Killing test due to detected failure.', record.level); - Simulator.endSimulation(); + unawaited(Simulator.endSimulation()); } else if (record.level >= failLevel) { if (!failureDetected) { _testPrint('Test failure detected, but continuing to run to end.', @@ -194,7 +194,7 @@ abstract class Test extends Component { .warning('Simulation has ended before all objections were dropped!'); } else { logger.finest('Objections completed, ending simulation.'); - Simulator.endSimulation(); + unawaited(Simulator.endSimulation()); } if (!Simulator.simulationHasEnded) {