Skip to content

Commit 219d698

Browse files
committed
Added extra test for last commit (#572).
1 parent 5539eb6 commit 219d698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tests/date.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ namespace('Date', function () {
192192
equal(params.date, 13, 'Set object should expose date');
193193

194194
// Issue #572 No disambiguation of separated units
195-
assertDateParsed('this week tuesday at 5pm', { future: true}, testGetWeekday(2, 0, 17));
195+
assertDateParsed('this week tuesday at 5pm', { future: true }, testGetWeekday(2, 0, 17));
196+
assertDateParsed('today at 5pm', { future: true }, new Date(now.getFullYear(), now.getMonth(), now.getDate(), 17));
196197

197198
});
198199

0 commit comments

Comments
 (0)