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

Unified Diff: runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (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 6bf7b7135c4f78cfb7a64ed1bc1885d71c3dde20..b6c9b0acc465ad17882e78b25de0ceb986669293 100644
--- a/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
@@ -27,18 +27,16 @@ 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