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

Unified Diff: tests/lib/mirrors/reflect_class_test.dart

Issue 64793003: Update mirror tests for removed API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 1 month 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
« no previous file with comments | « tests/lib/mirrors/private_symbol_test.dart ('k') | tests/lib/mirrors/reflect_model_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/reflect_class_test.dart
diff --git a/tests/lib/mirrors/reflect_class_test.dart b/tests/lib/mirrors/reflect_class_test.dart
index f1dff092791d366b0d8bfb9c6c046440e80ad9c7..29f546626240fdc6d3c139832666d2eccd0eaa16 100644
--- a/tests/lib/mirrors/reflect_class_test.dart
+++ b/tests/lib/mirrors/reflect_class_test.dart
@@ -12,7 +12,7 @@ main() {
Function expectedError = (e) => e is ArgumentError || e is TypeError;
Expect.throws(() => reflectClass(dynamic), expectedError);
- Expect.throws(() => reflectClass(1), expectedError);
- Expect.throws(() => reflectClass("string"), expectedError);
+ Expect.throws(() => reflectClass(1), expectedError); /// 01: static type warning
+ Expect.throws(() => reflectClass("string"), expectedError); /// 02: static type warning
Expect.throws(() => reflectClass(FooFunction), expectedError);
}
« no previous file with comments | « tests/lib/mirrors/private_symbol_test.dart ('k') | tests/lib/mirrors/reflect_model_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698