Skip to content

Commit

Permalink
win32_gui_test.dart: adjust for test exe exit
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpassos committed Aug 7, 2023
1 parent 727ed45 commit c55277d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/win32_gui_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ void main() {
print('-- Checking `mainWindow.isDestroyed`');
expect(mainWindow.isDestroyed, isTrue);

mainWindow.quit(0);

print('-- Test finished.');

// Ensure that the `test -c exe` exits:
Future.delayed(Duration(seconds: 15), () {
print('** Forcing exit(0).');
exit(0);
});

mainWindow.quit(0);

print('-- Test finished.');
});
}

Expand Down

0 comments on commit c55277d

Please sign in to comment.