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

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

Issue 24239010: Use symbol literals in the mirror tests. (Except for void, the empty string and setters.) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge line Created 7 years, 3 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
« no previous file with comments | « tests/lib/mirrors/redirecting_factory_test.dart ('k') | tests/lib/mirrors/return_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/reflectively_instantiate_uninstantiated_class_test.dart
diff --git a/tests/lib/mirrors/reflectively_instantiate_uninstantiated_class_test.dart b/tests/lib/mirrors/reflectively_instantiate_uninstantiated_class_test.dart
index 4d181262b667703c5f13b121f6bba6c5b4819d6d..b19bfc2e571c1be1bb50b2a65fa4879bb114cd33 100644
--- a/tests/lib/mirrors/reflectively_instantiate_uninstantiated_class_test.dart
+++ b/tests/lib/mirrors/reflectively_instantiate_uninstantiated_class_test.dart
@@ -18,7 +18,7 @@ main() {
print(instance);
bool threw = false;
try {
- m.newInstance(const Symbol('noSuchConstructor'), []);
+ m.newInstance(#noSuchConstructor, []);
throw 'Expected an exception';
} on NoSuchMethodError catch (e) {
print(e);
« no previous file with comments | « tests/lib/mirrors/redirecting_factory_test.dart ('k') | tests/lib/mirrors/return_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698