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

Unified Diff: runtime/observatory/tests/service/get_allocation_samples_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
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 ae773eb261962b26e5aaa72c92e70cae6c723f83..bf4e1990a2da3c36ed50d884533d81c130ceba2a 100644
--- a/runtime/observatory/tests/service/get_allocation_samples_test.dart
+++ b/runtime/observatory/tests/service/get_allocation_samples_test.dart
@@ -67,14 +67,8 @@ 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.
@@ -89,4 +83,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