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

Unified Diff: tests/corelib/duration2_test.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/corelib/duration2_test.dart
diff --git a/tests/corelib/duration2_test.dart b/tests/corelib/duration2_test.dart
index 5bdc885223ca1f844f26812513735e3894d550ed..7bfebb09b7a518da4441661eb2cebb2b7bf257de 100644
--- a/tests/corelib/duration2_test.dart
+++ b/tests/corelib/duration2_test.dart
@@ -13,21 +13,15 @@ main() {
String longString = "str" * 1000;
Expect.throws(() => new Duration(days: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
Expect.throws(() => new Duration(hours: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
Expect.throws(() => new Duration(minutes: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
Expect.throws(() => new Duration(seconds: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
Expect.throws(() => new Duration(milliseconds: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
Expect.throws(() => new Duration(microseconds: longString),
- (e) => e is ArgumentError || e is TypeError ||
- e is NoSuchMethodError);
+ (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
}

Powered by Google App Engine
This is Rietveld 408576698