Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: runtime/tests/vm/dart/spawn_shutdown_test.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/tests/vm/dart/redirection_type_shuffling_test.dart ('k') | runtime/tools/verbose_gc_to_bmu.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/spawn_shutdown_test.dart
diff --git a/runtime/tests/vm/dart/spawn_shutdown_test.dart b/runtime/tests/vm/dart/spawn_shutdown_test.dart
index 235a0d86153d965534b180855d042dee08d3eab8..13fb2b8e211630c7e2c120d0131e60e2dc466e8c 100644
--- a/runtime/tests/vm/dart/spawn_shutdown_test.dart
+++ b/runtime/tests/vm/dart/spawn_shutdown_test.dart
@@ -27,9 +27,7 @@ void worker(SendPort parentPort) {
var port = new RawReceivePort();
// This worker will exit when it receives any message.
- port.handler = (_) {
- port.close();
- };
+ port.handler = (_) { port.close(); };
// Send a message to terminate our parent isolate.
if (parentPort != null) {
@@ -42,7 +40,7 @@ void worker(SendPort parentPort) {
void main() {
const numWorkers = 50;
- const delay = const Duration(milliseconds: (1000 ~/ numWorkers));
+ const delay = const Duration(milliseconds:(1000 ~/ numWorkers));
const exitDelay = const Duration(seconds: 2);
// Take about a second to spin up our workers in a staggered
« no previous file with comments | « runtime/tests/vm/dart/redirection_type_shuffling_test.dart ('k') | runtime/tools/verbose_gc_to_bmu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698