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

Unified Diff: tests/language/checked_mode_helper.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/language/checked_mode_helper.dart
diff --git a/tests/language/checked_mode_helper.dart b/tests/language/checked_mode_helper.dart
index 695222da755f57d923f5d991f1902eeaa5ea670b..72ad80af7845f4d54761b265eda07978f962cbc3 100644
--- a/tests/language/checked_mode_helper.dart
+++ b/tests/language/checked_mode_helper.dart
@@ -33,11 +33,10 @@ void checkDynamicTypeError(f(), [String message]) {
message = message != null ? ': $message' : '';
try {
f();
- Expect.isFalse(inCheckedMode(),
- 'Missing type error in checked mode$message.');
+ Expect.isFalse(
+ inCheckedMode(), 'Missing type error in checked mode$message.');
} on TypeError catch (e) {
- Expect.isTrue(inCheckedMode(),
- 'Unexpected type error in production mode.');
+ Expect.isTrue(inCheckedMode(), 'Unexpected type error in production mode.');
}
}

Powered by Google App Engine
This is Rietveld 408576698