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

Unified Diff: tests/lib/mirrors/mirrors_resolve_fields_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: 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
Index: tests/lib/mirrors/mirrors_resolve_fields_test.dart
diff --git a/tests/lib/mirrors/mirrors_resolve_fields_test.dart b/tests/lib/mirrors/mirrors_resolve_fields_test.dart
index f513ae22ed208287afaaef2e4b0481dfeef19f0f..cb3044f81726f501fe47f9dcfe82c9b8c5dc367f 100644
--- a/tests/lib/mirrors/mirrors_resolve_fields_test.dart
+++ b/tests/lib/mirrors/mirrors_resolve_fields_test.dart
@@ -17,6 +17,6 @@ class A {
main() {
var mirrors = currentMirrorSystem();
var classMirror = reflectClass(A);
- var instanceMirror = classMirror.newInstance(const Symbol(''),[]);
+ var instanceMirror = classMirror.newInstance(const Symbol(''), []);
Expect.equals(A._STATE_INITIAL, instanceMirror.reflectee._state);
}

Powered by Google App Engine
This is Rietveld 408576698