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

Unified Diff: pkg/unittest/unittest.dart

Issue 10919024: - Change "static final" to "static const" in the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « pkg/unittest/numeric_matchers.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/unittest.dart
===================================================================
--- pkg/unittest/unittest.dart (revision 11633)
+++ pkg/unittest/unittest.dart (working copy)
@@ -200,9 +200,9 @@
String _uncaughtErrorMessage = null;
-final _PASS = 'pass';
-final _FAIL = 'fail';
-final _ERROR = 'error';
+const _PASS = 'pass';
+const _FAIL = 'fail';
+const _ERROR = 'error';
/** If set, then all other test cases will be ignored. */
TestCase _soloTest;
@@ -302,7 +302,7 @@
// TODO(sigmund): make a singleton const field when frog supports passing those
// as default values to named arguments.
-final _sentinel = const _Sentinel();
+const _sentinel = const _Sentinel();
/** Simulates spread arguments using named arguments. */
// TODO(sigmund): remove this class and simply use a closure with named
« no previous file with comments | « pkg/unittest/numeric_matchers.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698