diff options
author | Florian Müllner <fmuellner@gnome.org> | 2017-10-04 18:10:35 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2017-10-04 18:12:27 +0200 |
commit | d439456048ac9f9a73ff66c0b214e661b98964db (patch) | |
tree | 2b01e9975e3768890372546d5b630f128ac1c1bf | |
parent | 4543ca1620d2f641a67a4bb297d653cc2d91fcf0 (diff) | |
download | gnome-shell-d439456048ac9f9a73ff66c0b214e661b98964db.tar.gz |
tests: Fix JS warning
-rw-r--r-- | tests/unit/jsParse.js | 2 |
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) { |