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

Unified Diff: tests/language_strong/malbounded_type_cast2_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_cast2_test.dart
diff --git a/tests/language_strong/malbounded_type_cast2_test.dart b/tests/language_strong/malbounded_type_cast2_test.dart
index b4580951771728375daa42e49a3970884545e3c5..1fd8baa2cc22524ddd851952eda2df258bfd5304 100644
--- a/tests/language_strong/malbounded_type_cast2_test.dart
+++ b/tests/language_strong/malbounded_type_cast2_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_redirecting_factory_test.dart ('k') | tests/language_strong/malbounded_type_cast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698