Index: runtime/observatory/tests/service/vm_timeline_flags_test.dart |
diff --git a/runtime/observatory/tests/service/vm_timeline_flags_test.dart b/runtime/observatory/tests/service/vm_timeline_flags_test.dart |
index 775e40a9879a115c0c212395e57e2c4612b70233..9a1cee673ba26880969069d04b2873203e1f7316 100644 |
--- a/runtime/observatory/tests/service/vm_timeline_flags_test.dart |
+++ b/runtime/observatory/tests/service/vm_timeline_flags_test.dart |
@@ -73,16 +73,14 @@ var tests = [ |
// Confirm that Dart events are added. |
expect(filterEvents(result['traceEvents'], isDart).length, greaterThan(0)); |
// Confirm that zero non-Dart events are added. |
- expect( |
- filterEvents(result['traceEvents'], isNotDartAndMetaData).length, |
+ expect(filterEvents(result['traceEvents'], isNotDartAndMetaData).length, |
equals(0)); |
}, |
hasStoppedAtBreakpoint, |
(Isolate isolate) async { |
// Disable the Dart category. |
- await isolate.vm.invokeRpcNoUpgrade('_setVMTimelineFlags', { |
- "recordedStreams": [] |
- }); |
+ await isolate.vm |
+ .invokeRpcNoUpgrade('_setVMTimelineFlags', {"recordedStreams": []}); |
// Grab the timeline and remember the number of Dart events. |
Map result = await isolate.vm.invokeRpcNoUpgrade('_getVMTimeline', {}); |
expect(result['type'], equals('_Timeline')); |
@@ -105,12 +103,10 @@ var tests = [ |
expect(result['traceEvents'], new isInstanceOf<List>()); |
expect(filterEvents(result['traceEvents'], isDart).length, dartEventCount); |
// Confirm that zero non-Dart events are added. |
- expect( |
- filterEvents(result['traceEvents'], isNotDartAndMetaData).length, |
+ expect(filterEvents(result['traceEvents'], isNotDartAndMetaData).length, |
equals(0)); |
}, |
]; |
-main(args) async => runIsolateTests(args, |
- tests, |
- testeeConcurrent: primeDartTimeline); |
+main(args) async => |
+ runIsolateTests(args, tests, testeeConcurrent: primeDartTimeline); |