diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:11:36 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:11:36 -0500 |
commit | 4fd36e7f1dea239e80db672cfe2eaaf28c7f035f (patch) | |
tree | 9c5bc27ed2fbe75f45c13b8457b1895360a58e53 /test/built-ins/Proxy/revocable | |
parent | 133dfa8793c3e66c3b1e540e6b1894f1356e19ee (diff) | |
download | qtdeclarative-testsuites-4fd36e7f1dea239e80db672cfe2eaaf28c7f035f.tar.gz |
built-ins/Proxy/*: make all indentation consistent (depth & character) (#1434)
Diffstat (limited to 'test/built-ins/Proxy/revocable')
-rw-r--r-- | test/built-ins/Proxy/revocable/proxy.js | 8 | ||||
-rw-r--r-- | test/built-ins/Proxy/revocable/revocation-function-nonconstructor.js | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Proxy/revocable/proxy.js b/test/built-ins/Proxy/revocable/proxy.js index b08d73c2e..32d4c27cd 100644 --- a/test/built-ins/Proxy/revocable/proxy.js +++ b/test/built-ins/Proxy/revocable/proxy.js @@ -12,12 +12,12 @@ info: | ---*/ var target = { - attr: "foo" + attr: "foo" }; var r = Proxy.revocable(target, { - get: function(t, prop) { - return t[prop] + "!"; - } + get: function(t, prop) { + return t[prop] + "!"; + } }); assert.sameValue(r.proxy.attr, "foo!"); diff --git a/test/built-ins/Proxy/revocable/revocation-function-nonconstructor.js b/test/built-ins/Proxy/revocable/revocation-function-nonconstructor.js index 02fc9aa5c..1dd225538 100644 --- a/test/built-ins/Proxy/revocable/revocation-function-nonconstructor.js +++ b/test/built-ins/Proxy/revocable/revocation-function-nonconstructor.js @@ -14,4 +14,6 @@ info: | var revocationFunction = Proxy.revocable({}, {}).revoke; assert.sameValue(Object.prototype.hasOwnProperty.call(revocationFunction, "prototype"), false); -assert.throws(TypeError, function() { new revocationFunction(); }); +assert.throws(TypeError, function() { + new revocationFunction(); +}); |