Index: tests/language_2/generic_constructor_mixin_test.dart |
diff --git a/tests/language/generic_constructor_mixin_test.dart b/tests/language_2/generic_constructor_mixin_test.dart |
similarity index 81% |
rename from tests/language/generic_constructor_mixin_test.dart |
rename to tests/language_2/generic_constructor_mixin_test.dart |
index 932d17b457b047c277e396cb10c50999353d1269..99ff5ace2bb1007dd80ff916ba1e1ff8822b9b80 100644 |
--- a/tests/language/generic_constructor_mixin_test.dart |
+++ b/tests/language_2/generic_constructor_mixin_test.dart |
@@ -5,7 +5,7 @@ |
// Test that parameter types types are checked correctly in the face of |
// mixin application upon a generic constructor. |
-import 'checked_mode_helper.dart'; |
+import 'dynamic_type_helper.dart'; |
class A<X> { |
A(X x); |
@@ -18,5 +18,5 @@ class C<Y> = A<Y> with B; |
void main() { |
var v = 0; |
checkNoDynamicTypeError(() => new C<int>(v)); |
- checkDynamicTypeError(() => new C<String>(v)); |
-} |
+ checkDynamicTypeError(() => new C<String>(v)); //# 01: compile-time error |
+} |