diff options
author | André Bargull <andre.bargull@gmail.com> | 2017-12-21 12:08:20 -0800 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-12-21 16:46:56 -0500 |
commit | ce3c3d7dbd7efe00f867c4363b7d006d6c9203d9 (patch) | |
tree | 4f1d986aa87fb2c60a872b1cf6aee090208e68e2 /harness | |
parent | 20ea611db79495e244ccf9aa37cdb3b22d75a92f (diff) |
Replace mustNotHaveProperty with verifyProperty
Diffstat (limited to 'harness')
-rw-r--r-- | harness/testIntl.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/harness/testIntl.js b/harness/testIntl.js index d0b48fa94..5646e9c2e 100644 --- a/harness/testIntl.js +++ b/harness/testIntl.js @@ -874,19 +874,6 @@ function mustHaveProperty(obj, property, valid) { /** - * Tests whether the given object does not have the named property. - * @param {Object} obj the object to be tested. - * @param {string} property the name of the property - * @exception if the property is present. - */ -function mustNotHaveProperty(obj, property) { - if (obj.hasOwnProperty(property)) { - $ERROR("Object has property it mustn't have: " + property + "."); - } -} - - -/** * Properties of the RegExp constructor that may be affected by use of regular * expressions, and the default values of these properties. Properties are from * https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Deprecated_and_obsolete_features#RegExp_Properties |