Index: tests/language_2/call_non_method_field_test.dart |
diff --git a/tests/language_strong/call_non_method_field_test.dart b/tests/language_2/call_non_method_field_test.dart |
similarity index 75% |
rename from tests/language_strong/call_non_method_field_test.dart |
rename to tests/language_2/call_non_method_field_test.dart |
index a3d9b87b0a5e3c902194404ac576e945bad5d179..e69dbf591133417a3d0de7115def490764487d0f 100644 |
--- a/tests/language_strong/call_non_method_field_test.dart |
+++ b/tests/language_2/call_non_method_field_test.dart |
@@ -12,11 +12,8 @@ class Hest extends Fisk {} |
main() { |
Fisk x1 = new Fisk(); |
- if (false) { |
- x1.i(); // //# 01: static type warning |
- } |
+ x1.i(); //# 01: compile-time error |
+ |
Hest x2 = new Hest(); |
- if (false) { |
- x2.i(); // //# 02: static type warning |
- } |
+ x2.i(); //# 02: compile-time error |
} |