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

Unified Diff: tests/lib/mirrors/intercepted_cache_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/inherit_field_test.dart ('k') | tests/lib/mirrors/invoke_throws_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/intercepted_cache_test.dart
diff --git a/tests/lib/mirrors/intercepted_cache_test.dart b/tests/lib/mirrors/intercepted_cache_test.dart
index 58dff6d68e781a247fd5c42d078fd17d35b7cb60..818906d781ecefda837e97a683064e7513f86ed3 100644
--- a/tests/lib/mirrors/intercepted_cache_test.dart
+++ b/tests/lib/mirrors/intercepted_cache_test.dart
@@ -18,8 +18,8 @@ class Foo {
main() {
Expect.equals(
- 1, reflect(new Foo(1)).getField(const Symbol('length')).reflectee);
+ 1, reflect(new Foo(1)).getField(#length).reflectee);
Expect.equals(
- 2, reflect(new Foo(2)).getField(const Symbol('length')).reflectee);
- Expect.equals(0, reflect([]).getField(const Symbol('length')).reflectee);
+ 2, reflect(new Foo(2)).getField(#length).reflectee);
+ Expect.equals(0, reflect([]).getField(#length).reflectee);
}
« no previous file with comments | « tests/lib/mirrors/inherit_field_test.dart ('k') | tests/lib/mirrors/invoke_throws_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698