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

Unified Diff: pkg/unittest/numeric_matchers.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/mock.dart ('k') | pkg/unittest/unittest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/numeric_matchers.dart
===================================================================
--- pkg/unittest/numeric_matchers.dart (revision 11633)
+++ pkg/unittest/numeric_matchers.dart (working copy)
@@ -35,39 +35,39 @@
/**
* A matcher which matches if the match argument is zero.
*/
-final Matcher isZero =
+const Matcher isZero =
const _OrderingComparison(0, true, false, false, 'a value equal to');
/**
* A matcher which matches if the match argument is non-zero.
*/
-final Matcher isNonZero =
+const Matcher isNonZero =
const _OrderingComparison(0, false, true, true, 'a value not equal to');
/**
* A matcher which matches if the match argument is positive.
*/
-final Matcher isPositive =
+const Matcher isPositive =
const _OrderingComparison(0, false, false, true, 'a positive value', false);
/**
* A matcher which matches if the match argument is zero or negative.
*/
-final Matcher isNonPositive =
+const Matcher isNonPositive =
const _OrderingComparison(0, true, true, false,
'a non-positive value', false);
/**
* A matcher which matches if the match argument is negative.
*/
-final Matcher isNegative =
+const Matcher isNegative =
const _OrderingComparison(0, false, true, false, 'a negative value', false);
/**
* A matcher which matches if the match argument is zero or positive.
*/
-final Matcher isNonNegative =
+const Matcher isNonNegative =
const _OrderingComparison(0, true, false, true,
'a non-negative value', false);
« no previous file with comments | « pkg/unittest/mock.dart ('k') | pkg/unittest/unittest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698