mirror of https://github.com/tc39/test262.git
Test PlainDate.from with a number.
This commit is contained in:
parent
4ec469c68c
commit
b81ce78746
|
@ -0,0 +1,12 @@
|
|||
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-temporal.plaindate.from
|
||||
description: various interesting string arguments.
|
||||
includes: [temporalHelpers.js]
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
const result = Temporal.PlainDate.from(19761118);
|
||||
TemporalHelpers.assertPlainDate(result, 1976, 11, "M11", 18);
|
Loading…
Reference in New Issue