Skip to content

Commit 72c9245

Browse files
jessealama12wrigja
authored andcommitted
Drop PlainDateTime withCalendar tests ported to Test262
UPSTREAM_COMMIT=8b8a9c359c02aaebff16aa30d2d9e6fe821de575
1 parent 7245c6a commit 72c9245

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

test/plaindatetime.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ import * as Temporal from '@js-temporal/polyfill';
1818
const { PlainDateTime } = Temporal;
1919

2020
describe('DateTime', () => {
21-
describe('dateTime.withCalendar()', () => {
22-
const dt1 = PlainDateTime.from('1976-11-18T15:23:30.123456789');
23-
it('works', () => {
24-
const calendar = Temporal.Calendar.from('iso8601');
25-
equal(`${dt1.withCalendar(calendar)}`, '1976-11-18T15:23:30.123456789');
26-
});
27-
it('casts its argument', () => {
28-
equal(`${dt1.withCalendar('iso8601')}`, '1976-11-18T15:23:30.123456789');
29-
});
30-
});
3121
describe('dateTime.toString()', () => {
3222
const dt1 = PlainDateTime.from('1976-11-18T15:23');
3323
it('shows only non-ISO calendar if calendarName = auto', () => {

0 commit comments

Comments
 (0)