Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: tests/language_2/call_type_literal_test.dart

Issue 2998493002: Migrate language block 45 - call_argument ... call_with. (Closed)
Patch Set: Merge branch 'master' into migrate-45 Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}
« no previous file with comments | « tests/language_2/call_through_null_getter_test.dart ('k') | tests/language_2/call_with_no_such_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698