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

Unified Diff: tests/language_strong/malbounded_type_test2_test.dart

Issue 2770063002: Revert "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
Index: tests/language_strong/malbounded_type_test2_test.dart
diff --git a/tests/language_strong/malbounded_type_test2_test.dart b/tests/language_strong/malbounded_type_test2_test.dart
index 1dee6fd8cc88333eff46a130330da9671f6975f4..3dbb436f4693688ee75b20f88f8d07cf9e672097 100644
--- a/tests/language_strong/malbounded_type_test2_test.dart
+++ b/tests/language_strong/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_strong/malbounded_type_cast_test.dart ('k') | tests/language_strong/malformed_bound_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698