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

Issue 332663002: pkg/matcher: add isNaN and isNotNaN matchers (Closed)

Created:
6 years, 6 months ago by srawlins
Modified:
6 years, 4 months ago
Reviewers:
kevmoo
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comments #

Total comments: 4

Patch Set 3 : Fixed implementation, replacing == with compareTo() #

Patch Set 4 : Updating metadata stuff; removing pkg/intl change #

Total comments: 2

Patch Set 5 : Removing parens #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M pkg/matcher/CHANGELOG.md View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/matcher/lib/src/core_matchers.dart View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/matcher/pubspec.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/matcher/test/core_matchers_test.dart View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M tests/lib/math/point_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
srawlins
6 years, 5 months ago (2014-07-22 18:27:43 UTC) #1
kevmoo
https://codereview.chromium.org/332663002/diff/1/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/332663002/diff/1/pkg/matcher/lib/src/core_matchers.dart#newcode75 pkg/matcher/lib/src/core_matchers.dart:75: bool matches(item, Map matchState) => item == NaN; Where ...
6 years, 5 months ago (2014-07-22 20:44:37 UTC) #2
srawlins
Thanks Kevin; updated https://codereview.chromium.org/332663002/diff/1/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/332663002/diff/1/pkg/matcher/lib/src/core_matchers.dart#newcode75 pkg/matcher/lib/src/core_matchers.dart:75: bool matches(item, Map matchState) => item ...
6 years, 5 months ago (2014-07-22 22:49:07 UTC) #3
kevmoo
https://codereview.chromium.org/332663002/diff/20001/pkg/matcher/lib/src/core_matchers.dart File pkg/matcher/lib/src/core_matchers.dart (right): https://codereview.chromium.org/332663002/diff/20001/pkg/matcher/lib/src/core_matchers.dart#newcode75 pkg/matcher/lib/src/core_matchers.dart:75: bool matches(item, Map matchState) => item == double.NaN; double.NAN ...
6 years, 5 months ago (2014-07-25 18:21:09 UTC) #4
srawlins
Sorry, I was _not_ running the correct set of tests; there was a flaw in ...
6 years, 4 months ago (2014-07-30 17:08:04 UTC) #5
kevmoo
On 2014/07/30 17:08:04, srawlins wrote: > Sorry, I was _not_ running the correct set of ...
6 years, 4 months ago (2014-07-30 17:46:43 UTC) #6
srawlins
On 2014/07/30 17:46:43, kevmoo wrote: > On 2014/07/30 17:08:04, srawlins wrote: > > Sorry, I ...
6 years, 4 months ago (2014-07-30 18:40:03 UTC) #7
kevmoo
LGTM w/ nits Please update and I'll commit https://codereview.chromium.org/332663002/diff/60001/pkg/matcher/CHANGELOG.md File pkg/matcher/CHANGELOG.md (right): https://codereview.chromium.org/332663002/diff/60001/pkg/matcher/CHANGELOG.md#newcode3 pkg/matcher/CHANGELOG.md:3: * ...
6 years, 4 months ago (2014-07-30 19:03:34 UTC) #8
srawlins
https://codereview.chromium.org/332663002/diff/60001/pkg/matcher/CHANGELOG.md File pkg/matcher/CHANGELOG.md (right): https://codereview.chromium.org/332663002/diff/60001/pkg/matcher/CHANGELOG.md#newcode3 pkg/matcher/CHANGELOG.md:3: * Added `isNaN()` and `isNotNaN()` matchers. On 2014/07/30 19:03:34, ...
6 years, 4 months ago (2014-07-30 19:05:47 UTC) #9
kevmoo
6 years, 4 months ago (2014-07-30 19:12:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r38745 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698