Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorbel1 committed Feb 22, 2024
1 parent 986149d commit 18b0c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 18b0c1b

Please sign in to comment.