Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 1fced3d

Browse files
author
Andy Earnshaw
committed
Updating currency minor units and tests
1 parent b739785 commit 1fced3d

21 files changed

+41
-23
lines changed

dist/Intl.complete.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.js

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ var Intl = {},
212212
}
213213
},
214214

215-
// Currency minor units output from tools/getISO4217data.js, formatted
215+
// Currency minor units output from get-4217 grunt task, formatted
216216
currencyMinorUnits = {
217-
BHD: 3, BYR: 0, XOF: 0, BIF: 0, XAF: 0, CLF: 0, CLP: 0, KMF: 0, DJF: 0,
217+
BHD: 3, BYR: 0, XOF: 0, BIF: 0, XAF: 0, CLF: 4, CLP: 0, KMF: 0, DJF: 0,
218218
XPF: 0, GNF: 0, ISK: 0, IQD: 3, JPY: 0, JOD: 3, KRW: 0, KWD: 3, LYD: 3,
219219
OMR: 3, PYG: 0, RWF: 0, TND: 3, UGX: 0, UYI: 0, VUV: 0, VND: 0
220220
};

tests/test262/pages/11.1_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/11.2.2_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/11.3.2_1_a_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/11.3.2_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/11.3.3_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/11.3_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.1_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.2.2_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.3.2_1_a_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.3.2_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.3.3_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/12.3_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/13.2.1_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/13.3.1_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/13.3.2_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

tests/test262/pages/13.3.3_L15.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
throw new Error("The length property of a built-in function must not be enumerable.");
8484
}
8585
if (!desc.configurable) {
86-
throw new Error("The length property of a built-in function must be configurable.");
86+
// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill
87+
//throw new Error("The length property of a built-in function must be configurable.");
8788
}
8889
}
8990

0 commit comments

Comments
 (0)