Index: tests/language_2/unresolved_top_level_method_test.dart |
diff --git a/tests/language_strong/unresolved_top_level_method_negative_test.dart b/tests/language_2/unresolved_top_level_method_test.dart |
similarity index 64% |
rename from tests/language_strong/unresolved_top_level_method_negative_test.dart |
rename to tests/language_2/unresolved_top_level_method_test.dart |
index 2fc13cb421c8688cf16e7aa08aa35739e8fe16c9..1aa0503549d3adacba727cb411475fcc32839a4a 100644 |
--- a/tests/language_strong/unresolved_top_level_method_negative_test.dart |
+++ b/tests/language_2/unresolved_top_level_method_test.dart |
@@ -2,10 +2,10 @@ |
// 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 that an unresolved method call at the top level does not crash |
-// the parser. |
+// Test that an unresolved method call at the top level creates a compile- |
+// time error. |
-var a = b(); |
+var a = b(); /*@compile-error=unspecified*/ |
main() { |
print(a); |