Skip to content

Commit

Permalink
Make jscs happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Jun 14, 2016
1 parent 9233cdb commit 59d47ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/moment/now.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ test('now - custom value', function (assert) {

test('empty object, empty array', function (assert) {
function assertIsNow(gen, msg) {
var before = +(new Date),
var before = +(new Date()),
mid = gen(),
after = +(new Date);
after = +(new Date());
assert.ok(before <= +mid && +mid <= after, 'should be now : ' + msg);
}
assertIsNow(function () { return moment(); }, 'moment()');
Expand Down

0 comments on commit 59d47ed

Please sign in to comment.