Index: tests/language/malbounded_type_cast2_test.dart |
diff --git a/tests/language/malbounded_type_cast2_test.dart b/tests/language/malbounded_type_cast2_test.dart |
index 1fd8baa2cc22524ddd851952eda2df258bfd5304..b4580951771728375daa42e49a3970884545e3c5 100644 |
--- a/tests/language/malbounded_type_cast2_test.dart |
+++ b/tests/language/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); |