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, |