Skip to content

Commit

Permalink
style(retry-spec): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Jan 13, 2016
1 parent cba1b9a commit 22fcbcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/operators/retry-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Observable.prototype.retry()', function () {
observer.complete();
})
.map(function (x) {
if ((errors += 1) < retries) {
if (++errors < retries) {
throw 'bad';
}
errors = 0;
Expand Down Expand Up @@ -72,7 +72,7 @@ describe('Observable.prototype.retry()', function () {
observer.complete();
})
.map(function (x) {
if ((errors += 1) < retries) {
if (++errors < retries) {
throw 'bad';
}
errors = 0;
Expand Down

0 comments on commit 22fcbcf

Please sign in to comment.