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

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

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. 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/general_error/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/general_error/element_test.dart b/runtime/observatory/tests/observatory_ui/general_error/element_test.dart
index 71ba1866b8318eef6ae9bff55a6749bb9993c823..49574672a5fb7542dfb4f306d7cdbff6c0b63d10 100644
--- a/runtime/observatory/tests/observatory_ui/general_error/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/general_error/element_test.dart
@@ -23,8 +23,8 @@ main() {
expect(e.message, equals(''), reason: 'message should be empty');
});
test('message', () {
- final GeneralErrorElement e = new GeneralErrorElement(notifications,
- message: message);
+ final GeneralErrorElement e =
+ new GeneralErrorElement(notifications, message: message);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.message, isNotNull, reason: 'message should not be null');
expect(e.message, equals(message), reason: 'message should be the same');
@@ -49,8 +49,7 @@ main() {
reason: 'should not contain');
e.message = message;
await e.onRendered.first;
- expect(e.innerHtml.contains(message), isTrue,
- reason: 'should contain');
+ expect(e.innerHtml.contains(message), isTrue, reason: 'should contain');
e.message = '';
await e.onRendered.first;
expect(e.innerHtml.contains(message), isFalse,

Powered by Google App Engine
This is Rietveld 408576698