Index: tests/language_2/call_type_literal_test.dart |
diff --git a/tests/language_strong/call_type_literal_test.dart b/tests/language_2/call_type_literal_test.dart |
similarity index 76% |
rename from tests/language_strong/call_type_literal_test.dart |
rename to tests/language_2/call_type_literal_test.dart |
index fc8f0442d681c998e02ecc5398de6cab6468b925..43cea9be4f5fa1d5078efa9a0258293010192a2a 100644 |
--- a/tests/language_strong/call_type_literal_test.dart |
+++ b/tests/language_2/call_type_literal_test.dart |
@@ -9,5 +9,5 @@ class C { |
} |
void main() { |
- Expect.throws(() => C().a(), (e) => e is NoSuchMethodError); //# 01: static type warning |
+ C().a(); //# 01: compile-time error |
} |