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

Unified Diff: runtime/observatory/tests/observatory_ui/flag_list/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/flag_list/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/flag_list/element_test.dart b/runtime/observatory/tests/observatory_ui/flag_list/element_test.dart
index 327daa146943aefe96e2b684351fb2a8ec74d058..727eb0b256204df1441e8a5c6070164a6c474642 100644
--- a/runtime/observatory/tests/observatory_ui/flag_list/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/flag_list/element_test.dart
@@ -18,9 +18,8 @@ main() {
group('instantiation', () {
test('default', () {
- final e = new FlagListElement(vm, events,
- new FlagsRepositoryMock(),
- notifications);
+ final e = new FlagListElement(
+ vm, events, new FlagsRepositoryMock(), notifications);
expect(e, isNotNull, reason: 'element correctly created');
});
});
@@ -43,8 +42,8 @@ main() {
expect(e.children.length, isNonZero, reason: 'has elements');
expect(e.querySelectorAll(nTag).length, equals(1));
expect(e.querySelectorAll('.flag').length, equals(flags.length));
- expect(e.querySelectorAll('.flag.modified').length,
- equals(modified.length));
+ expect(
+ e.querySelectorAll('.flag.modified').length, equals(modified.length));
expect(e.querySelectorAll('.flag.unmodified').length,
equals(unmodifed.length));
expect(e.querySelectorAll('.flag').length, equals(flags.length));

Powered by Google App Engine
This is Rietveld 408576698