Index: tests/language_strong/generic_field_mixin6_test.dart |
diff --git a/tests/language_strong/generic_field_mixin6_test.dart b/tests/language_strong/generic_field_mixin6_test.dart |
index 664246a9042cd00aca6c660999a3eb8e8ca38b53..8778ea9574ab7eef6fdd2c10e007c0e6cfb7deb4 100644 |
--- a/tests/language_strong/generic_field_mixin6_test.dart |
+++ b/tests/language_strong/generic_field_mixin6_test.dart |
@@ -9,7 +9,9 @@ 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>; |
@@ -40,11 +42,10 @@ 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.'); |
} |
} |