summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-10-04 18:10:35 +0200
committerFlorian Müllner <fmuellner@gnome.org>2017-10-04 18:12:27 +0200
commitd439456048ac9f9a73ff66c0b214e661b98964db (patch)
tree2b01e9975e3768890372546d5b630f128ac1c1bf /tests
parent4543ca1620d2f641a67a4bb297d653cc2d91fcf0 (diff)
downloadgnome-shell-d439456048ac9f9a73ff66c0b214e661b98964db.tar.gz
tests: Fix JS warning
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/jsParse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/jsParse.js b/tests/unit/jsParse.js
index ed550c9b9..381484877 100644
--- a/tests/unit/jsParse.js
+++ b/tests/unit/jsParse.js
@@ -176,7 +176,7 @@ for (let i = 0; i < testsModifyScope.length; i++) {
let matches = text.match(/(.*)\.(.*)/);
if (matches) {
- [expr, base, attrHead] = matches;
+ let [expr, base, attrHead] = matches;
if (!JsParse.isUnsafeExpression(base)) {
with (obj) {