Index: tests/language_2/unresolved_default_constructor_test.dart |
diff --git a/tests/language_strong/unresolved_default_constructor_test.dart b/tests/language_2/unresolved_default_constructor_test.dart |
similarity index 67% |
rename from tests/language_strong/unresolved_default_constructor_test.dart |
rename to tests/language_2/unresolved_default_constructor_test.dart |
index 1b0a66c52a9c097c567152438eed71557a8f2587..7d9301bb981a7239b57ed23cc6a3ebeccec720aa 100644 |
--- a/tests/language_strong/unresolved_default_constructor_test.dart |
+++ b/tests/language_2/unresolved_default_constructor_test.dart |
@@ -2,8 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// Test unresolved default constructor calls remain unresolved after dart2dart |
-// translation. |
+// Test unresolved default constructor calls cause compilation errors. |
import 'package:expect/expect.dart'; |
@@ -14,5 +13,5 @@ class A { |
main() { |
A.method(); |
- Expect.throws(() => new A()); //# 01: static type warning |
+ Expect.throws(() => new A()); //# 01: compile-time error |
} |