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

Side by Side Diff: dart/pkg/unittest/numeric_matchers.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/pkg/unittest/mock.dart ('k') | dart/pkg/unittest/operator_matchers.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of unittest;
2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * Returns a matcher which matches if the match argument is greater 6 * Returns a matcher which matches if the match argument is greater
9 * than the given [value]. 7 * than the given [value].
10 */ 8 */
11 Matcher greaterThan(value) => 9 Matcher greaterThan(value) =>
12 new _OrderingComparison(value, false, false, true, 'a value greater than'); 10 new _OrderingComparison(value, false, false, true, 'a value greater than');
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 return mismatchDescription. 220 return mismatchDescription.
223 addDescriptionOf(item). 221 addDescriptionOf(item).
224 add(' not numeric'); 222 add(' not numeric');
225 } else { 223 } else {
226 return super.describeMismatch(item, mismatchDescription, 224 return super.describeMismatch(item, mismatchDescription,
227 matchState, verbose); 225 matchState, verbose);
228 } 226 }
229 } 227 }
230 } 228 }
231 229
OLDNEW
« no previous file with comments | « dart/pkg/unittest/mock.dart ('k') | dart/pkg/unittest/operator_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698