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

Unified Diff: tests/language_strong/issue10747_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/language_strong/issue10747_test.dart
diff --git a/tests/language_strong/issue10747_test.dart b/tests/language_strong/issue10747_test.dart
index fda6c492a4234464f6762c50b6885e274f67d1e9..323a215bea6b6803aeb10b55c46731c412dbffeb 100644
--- a/tests/language_strong/issue10747_test.dart
+++ b/tests/language_strong/issue10747_test.dart
@@ -4,8 +4,7 @@
import "package:expect/expect.dart";
-class B<T> {
-}
+class B<T> {}
class A<T> {
var field;
@@ -17,12 +16,9 @@ class A<T> {
main() {
Expect.equals(42, new A<int>(42).asTypeVariable());
Expect.throws(
- () => new A<String>(42).asTypeVariable(),
- (e) => e is CastError);
+ () => new A<String>(42).asTypeVariable(), (e) => e is CastError);
var b = new B<int>();
Expect.equals(b, new A<int>(b).asBOfT());
- Expect.throws(
- () => new A<String>(b).asBOfT(),
- (e) => e is CastError);
+ Expect.throws(() => new A<String>(b).asBOfT(), (e) => e is CastError);
}

Powered by Google App Engine
This is Rietveld 408576698