Index: tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart |
diff --git a/tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart b/tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart |
index 388274a1de8fe5455dc1713cae5e27c9b398b127..f7aa69786d0507b2a4c73455688e5f9f4c0afabe 100644 |
--- a/tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart |
+++ b/tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart |
@@ -11,6 +11,7 @@ import 'package:expect/expect.dart'; |
import 'generics_helper.dart'; |
class Super<T, R extends T> {} |
+ |
class Fixed extends Super<num, int> {} |
class Generic<X, Y> extends Super<X, Y> {} //# 02: static type warning |
class Malbounded extends Super<num, String> {} //# 01: static type warning |
@@ -19,7 +20,7 @@ bool inCheckedMode() { |
try { |
var s = 'string'; |
int i = s; |
- } catch(e) { |
+ } catch (e) { |
return true; |
} |
return false; |
@@ -44,7 +45,7 @@ main() { |
typeArguments(genericOfNumAndBool, [reflectClass(num), reflectClass(bool)]); // //# 02: continued |
typeArguments(superOfNumAndBool, [reflectClass(num), reflectClass(bool)]); // //# 02: continued |
Expect.isFalse(inCheckedMode()); //# 02: continued |
- } on TypeError catch(e) { |
+ } on TypeError catch (e) { |
Expect.isTrue(inCheckedMode()); |
} |