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

Unified Diff: runtime/observatory/tests/observatory_ui/retaining_path/element_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/observatory_ui/retaining_path/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart b/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
index b6c9b0acc465ad17882e78b25de0ceb986669293..6bf7b7135c4f78cfb7a64ed1bc1885d71c3dde20 100644
--- a/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
@@ -27,16 +27,18 @@ main() {
});
test('elements created after attachment', () async {
const source = const InstanceRefMock(id: 'source-id', name: 'source_name');
- const path = const RetainingPathMock(
- elements: const [const RetainingPathItemMock(source: source)]);
+ const path = const RetainingPathMock(elements: const [
+ const RetainingPathItemMock(source: source)
+ ]);
bool invoked = false;
final paths = new RetainingPathRepositoryMock(
- getter: expectAsync((i, id) async {
- expect(i, equals(isolate));
- expect(id, equals(object.id));
- invoked = true;
- return path;
- }, count: 1));
+ getter: expectAsync((i, id) async {
+ expect(i, equals(isolate));
+ expect(id, equals(object.id));
+ invoked = true;
+ return path;
+ }, count: 1)
+ );
final instances = new InstanceRepositoryMock();
final e = new RetainingPathElement(isolate, object, paths, instances);
document.body.append(e);

Powered by Google App Engine
This is Rietveld 408576698