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

Unified Diff: tests/language/malbounded_type_test2_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: 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
« no previous file with comments | « tests/language/malbounded_type_cast_test.dart ('k') | tests/language/malformed_bound_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/malbounded_type_test2_test.dart
diff --git a/tests/language/malbounded_type_test2_test.dart b/tests/language/malbounded_type_test2_test.dart
index 3dbb436f4693688ee75b20f88f8d07cf9e672097..1dee6fd8cc88333eff46a130330da9671f6975f4 100644
--- a/tests/language/malbounded_type_test2_test.dart
+++ b/tests/language/malbounded_type_test2_test.dart
@@ -14,7 +14,7 @@ isCheckedMode() {
}
}
-class A<T extends num> { }
+class A<T extends num> {}
class B<T> {
test() {
@@ -22,7 +22,7 @@ class B<T> {
}
}
-main () {
+main() {
var b = new B<String>();
if (isCheckedMode()) {
Expect.throws(() => b.test(), (e) => e is TypeError);
« no previous file with comments | « tests/language/malbounded_type_cast_test.dart ('k') | tests/language/malformed_bound_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698