tests: Fix JavaScript tests with gjs 1.50.0
authorSimon McVittie <smcv@collabora.com>
Fri, 15 Sep 2017 14:32:55 +0000 (15:32 +0100)
committerSimon McVittie <smcv@debian.org>
Fri, 22 Sep 2017 14:48:24 +0000 (15:48 +0100)
commitc46ab60ffcca0d2002f5dd38cfe335269bdc8043
tree182c9bf05eb6278e7ec655079559a86cf15ebfcc
parent4ed88a0675f2c77b5500a99a52a48eb786534fa2
tests: Fix JavaScript tests with gjs 1.50.0

In recent gjs, you can't declare a variable with "let" multiple times.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1178
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1178
Applied-upstream: 2017.12, commit:1b430a776486d68be2d16a0ec53ad5512c604988

Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Fix-JavaScript-tests-with-gjs-1.50.0.patch
tests/corrupt-repo-ref.js
tests/test-sysroot.js