Skip to content

Commit d730c6f

Browse files
jessealama12wrigja
authored andcommitted
Drop tests ported to Test262
UPSTREAM_COMMIT=57ab2dcc8bddd58375f73d4ebded9d6c439c3dc0
1 parent 0f525d9 commit d730c6f

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

test/plaindatetime.mjs

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -161,50 +161,6 @@ describe('DateTime', () => {
161161
});
162162
});
163163
});
164-
describe('dateTime.getISOFields() works', () => {
165-
const dt1 = PlainDateTime.from('1976-11-18T15:23:30.123456789');
166-
const fields = dt1.getISOFields();
167-
it('fields', () => {
168-
equal(fields.isoYear, 1976);
169-
equal(fields.isoMonth, 11);
170-
equal(fields.isoDay, 18);
171-
equal(fields.isoHour, 15);
172-
equal(fields.isoMinute, 23);
173-
equal(fields.isoSecond, 30);
174-
equal(fields.isoMillisecond, 123);
175-
equal(fields.isoMicrosecond, 456);
176-
equal(fields.isoNanosecond, 789);
177-
equal(fields.calendar.id, 'iso8601');
178-
});
179-
it('enumerable', () => {
180-
const fields2 = { ...fields };
181-
equal(fields2.isoYear, 1976);
182-
equal(fields2.isoMonth, 11);
183-
equal(fields2.isoDay, 18);
184-
equal(fields2.isoHour, 15);
185-
equal(fields2.isoMinute, 23);
186-
equal(fields2.isoSecond, 30);
187-
equal(fields2.isoMillisecond, 123);
188-
equal(fields2.isoMicrosecond, 456);
189-
equal(fields2.isoNanosecond, 789);
190-
equal(fields2.calendar, fields.calendar);
191-
});
192-
it('as input to constructor', () => {
193-
const dt2 = new PlainDateTime(
194-
fields.isoYear,
195-
fields.isoMonth,
196-
fields.isoDay,
197-
fields.isoHour,
198-
fields.isoMinute,
199-
fields.isoSecond,
200-
fields.isoMillisecond,
201-
fields.isoMicrosecond,
202-
fields.isoNanosecond,
203-
fields.calendar
204-
);
205-
assert(dt2.equals(dt1));
206-
});
207-
});
208164
describe('dateTime.withCalendar()', () => {
209165
const dt1 = PlainDateTime.from('1976-11-18T15:23:30.123456789');
210166
it('works', () => {

0 commit comments

Comments
 (0)