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

Unified Diff: runtime/observatory/tests/service/get_allocation_samples_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. 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
Index: runtime/observatory/tests/service/get_allocation_samples_test.dart
diff --git a/runtime/observatory/tests/service/get_allocation_samples_test.dart b/runtime/observatory/tests/service/get_allocation_samples_test.dart
index bf4e1990a2da3c36ed50d884533d81c130ceba2a..ae773eb261962b26e5aaa72c92e70cae6c723f83 100644
--- a/runtime/observatory/tests/service/get_allocation_samples_test.dart
+++ b/runtime/observatory/tests/service/get_allocation_samples_test.dart
@@ -67,8 +67,14 @@ var tests = [
cpuProfile.buildFunctionCallerAndCallees();
var tree = cpuProfile.loadCodeTree(M.ProfileTreeDirection.exclusive);
var node = tree.root;
- var expected = ['Root', 'DRT_AllocateObject', '[Stub] Allocate Foo',
- 'test', 'test', '_Closure.call'];
+ var expected = [
+ 'Root',
+ 'DRT_AllocateObject',
+ '[Stub] Allocate Foo',
+ 'test',
+ 'test',
+ '_Closure.call'
+ ];
for (var i = 0; i < expected.length; i++) {
expect(node.profileCode.code.name, equals(expected[i]));
// Depth first traversal.
@@ -83,4 +89,4 @@ var tests = [
resumeIsolate,
];
-main(args) async => runIsolateTests(args, tests, testeeConcurrent:test);
+main(args) async => runIsolateTests(args, tests, testeeConcurrent: test);

Powered by Google App Engine
This is Rietveld 408576698