1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2022 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 esid: sec-temporal.plainmonthday.prototype.equals
7 description: The calendar name is case-insensitive
11 const instance = new Temporal.PlainMonthDay(11, 18);
13 const arg = { monthCode: "M11", day: 18, calendar: "IsO8601" };
14 const result = instance.equals(arg);
15 assert.sameValue(result, true, "Calendar is case-insensitive");
17 arg.calendar = "\u0130SO8601";
20 () => instance.equals(arg),
21 "calendar ID is capital dotted I is not lowercased"