Skip to content

Commit 26c7df4

Browse files
committed
Fix rebase error
I introduced this error some time ago while resolving a rebase conflict. It is not caught by tests at the point in the test262 repo history where we currently are, but it will be covered by tests when we are all caught up.
1 parent 23fdc10 commit 26c7df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/calendar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ abstract class GregorianBaseHelper extends HelperBase {
17281728
// Prefer displaying an era alias, instead of "gregory-inverse"
17291729
const preferredName = names?.[0];
17301730
const expected = preferredName ? `${value} (also called ${preferredName})` : value;
1731-
throw new RangeErrorCtor(`Input ${name} ${currentValue} doesn't match calculated value ${expected}`);
1731+
throw new RangeErrorCtor(`Input ${property} ${currentValue} doesn't match calculated value ${expected}`);
17321732
}
17331733
};
17341734
const eraFromYear = (year: number) => {

0 commit comments

Comments
 (0)