Skip to content

Commit 3f241e8

Browse files
committed
test: fix date unit test assert value
1 parent 3457237 commit 3f241e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/app/tests/value-accessor-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe("two-way binding via ng-model", () => {
102102
assert.equal(formatDate(now), formatDate(accessor.view.date), "default to now on empty");
103103

104104
accessor.writeValue("2010-03-17");
105-
assert.equal(formatDate(new Date(2010, 2, 16)), formatDate(accessor.view.date));
105+
assert.equal(formatDate(new Date(2010, 2, 17)), formatDate(accessor.view.date));
106106

107107
accessor.writeValue("a fortnight ago");
108108
assert.equal(formatDate(now), formatDate(accessor.view.date), "default to now on parse error");

0 commit comments

Comments
 (0)