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

Unified Diff: runtime/observatory/tests/observatory_ui/stack_trace_tree_config/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/stack_trace_tree_config/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/stack_trace_tree_config/element_test.dart b/runtime/observatory/tests/observatory_ui/stack_trace_tree_config/element_test.dart
index 1a8bef14a2941a92849ef1903035e40fa3387003..f8c0f0004e56c91094b998a0b8f2664fad207210 100644
--- a/runtime/observatory/tests/observatory_ui/stack_trace_tree_config/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/stack_trace_tree_config/element_test.dart
@@ -142,10 +142,10 @@ main() {
expect(e.mode, equals(ProfileTreeMode.code));
}, count: 1));
final select = (e.querySelector('.mode-select') as SelectElement);
- select.selectedIndex = select.options.indexOf((select.options.toSet()
- ..removeAll(select.selectedOptions))
- .toList()
- .first);
+ select.selectedIndex = select.options.indexOf(
+ (select.options.toSet()
+ ..removeAll(select.selectedOptions)).toList().first
+ );
select.dispatchEvent(new Event("change"));
e.remove();
await e.onRendered.first;
@@ -159,10 +159,10 @@ main() {
expect(e.direction, equals(M.ProfileTreeDirection.inclusive));
}, count: 1));
final select = (e.querySelector('.direction-select') as SelectElement);
- select.selectedIndex = select.options.indexOf((select.options.toSet()
- ..removeAll(select.selectedOptions))
- .toList()
- .first);
+ select.selectedIndex = select.options.indexOf(
+ (select.options.toSet()
+ ..removeAll(select.selectedOptions)).toList().first
+ );
select.dispatchEvent(new Event("change"));
e.remove();
await e.onRendered.first;

Powered by Google App Engine
This is Rietveld 408576698