Index: tests/language/generic_field_mixin6_test.dart |
diff --git a/tests/language/generic_field_mixin6_test.dart b/tests/language/generic_field_mixin6_test.dart |
index 8778ea9574ab7eef6fdd2c10e007c0e6cfb7deb4..664246a9042cd00aca6c660999a3eb8e8ca38b53 100644 |
--- a/tests/language/generic_field_mixin6_test.dart |
+++ b/tests/language/generic_field_mixin6_test.dart |
@@ -9,9 +9,7 @@ import 'package:expect/expect.dart'; |
class M<T> { |
T field = 0; //# 01: static type warning |
} |
- |
class A<U> {} |
- |
class C1<V> = Object with M<V>; |
class C2 = Object with M<int>; |
class C3 = Object with M<String>; |
@@ -42,10 +40,11 @@ void checkDynamicTypeError(f(), [String message]) { |
message = message != null ? ': $message' : ''; |
try { |
f(); |
- Expect.isFalse( |
- inCheckedMode(), 'Missing type error in checked mode$message.'); |
+ Expect.isFalse(inCheckedMode(), |
+ 'Missing type error in checked mode$message.'); |
} on TypeError catch (e) { |
- Expect.isTrue(inCheckedMode(), 'Unexpected type error in production mode.'); |
+ Expect.isTrue(inCheckedMode(), |
+ 'Unexpected type error in production mode.'); |
} |
} |