Index: test/intl/number-format/format-is-bound.js |
diff --git a/test/intl/number-format/format-is-bound.js b/test/intl/number-format/format-is-bound.js |
index d93ee0067fac41c5c009fbe573bb03e77a8e4967..edb6a4b817b87bd56bce2fa796b9bb533905f132 100644 |
--- a/test/intl/number-format/format-is-bound.js |
+++ b/test/intl/number-format/format-is-bound.js |
@@ -28,6 +28,8 @@ |
// Create default NumberFormat. |
var nf = new Intl.NumberFormat(); |
+var beforeCount = Object.getOwnPropertyNames(nf).length; |
+ |
// Array we want to iterate, actual numbers are not important. |
var numberArray = [1, 2, 3]; |
@@ -39,4 +41,4 @@ numberArray.forEach(nf.format); |
nf.format(12345); |
// Reading the format doesn't add any additional property keys |
-assertEquals(1, Object.getOwnPropertyNames(nf).length); |
+assertEquals(beforeCount, Object.getOwnPropertyNames(nf).length); |