Index: tests/language_2/cast_test.dart |
diff --git a/tests/language/cast_test.dart b/tests/language_2/cast_test.dart |
similarity index 95% |
rename from tests/language/cast_test.dart |
rename to tests/language_2/cast_test.dart |
index abc3707320a4c3d3bba084eae3d47adb6193067b..e165022a3c52d1b9aedee4bf7967102f8ecff242 100644 |
--- a/tests/language/cast_test.dart |
+++ b/tests/language_2/cast_test.dart |
@@ -39,8 +39,8 @@ main() { |
(on as D).toString(); |
(on as D).foo; // //# 02: runtime error |
(on as C).foo; // //# 03: runtime error |
- oc.foo; // //# 04: static type warning |
- od.foo; // //# 05: static type warning |
+ oc.foo; // //# 04: compile-time error |
+ od.foo; // //# 05: compile-time error |
(on as Object).toString(); |
(oc as Object).toString(); |
(od as Object).toString(); |