OLD | NEW |
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 Loading... |
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 |
OLD | NEW |