This repository has been archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm/frontend-server] Fix frontend_server so that it can be tested.
With explicit exit() invocation, frontend_server_test only gets through first two tests before exiting. Change-Id: Ica0b6f4f09baa8262b6097779be772877ca6f8d8 Reviewed-on: https://dart-review.googlesource.com/69220 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
- Loading branch information
Showing
3 changed files
with
122 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
library frontend_server; | ||
|
||
import 'dart:async'; | ||
import 'dart:io'; | ||
|
||
import '../lib/frontend_server.dart'; | ||
|
||
Future<Null> main(List<String> args) async { | ||
starter(args); | ||
final int exitCode = await starter(args); | ||
if (exitCode != 0) { | ||
exit(exitCode); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.