Skip to content

Commit e5194db

Browse files
author
Bottie McBotface
committed
fix(@axhxrx/date): update outdated test
1 parent 50be6cb commit e5194db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dateToIS08601WithTimeZoneOffset.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Deno.test('format date with negative offset', () =>
2424
assertEquals(result, '2023-10-02T01:00:00+09:00');
2525
});
2626

27-
Deno.test('return ERR_INVALID_DATE for invalid JS Date object', () =>
27+
Deno.test('return ERR_INVALID_DATE_BRO for invalid JS Date object', () =>
2828
{
2929
const date = new Date('invalid-date-string');
3030
const result = dateToIS08601WithTimeZoneOffset(date, testTimezoneOffset);
31-
assertEquals(result, 'ERR_INVALID_DATE');
31+
assertEquals(result, 'ERR_INVALID_DATE_BRO');
3232
});
3333

3434
Deno.test('format ignoring milliseconds', () =>

0 commit comments

Comments
 (0)