Index: tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart |
diff --git a/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart b/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart |
index f7aa69786d0507b2a4c73455688e5f9f4c0afabe..388274a1de8fe5455dc1713cae5e27c9b398b127 100644 |
--- a/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart |
+++ b/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart |
@@ -11,7 +11,6 @@ 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 |
@@ -20,7 +19,7 @@ bool inCheckedMode() { |
try { |
var s = 'string'; |
int i = s; |
- } catch (e) { |
+ } catch(e) { |
return true; |
} |
return false; |
@@ -45,7 +44,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()); |
} |