chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc21c8
)
jstest: lower: script: fix multiple pieces
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 13:42:33 +0000
(14:42 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 13:42:33 +0000
(14:42 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
jstest/jst-lower.rs
patch
|
blob
|
history
diff --git
a/jstest/jst-lower.rs
b/jstest/jst-lower.rs
index 98e7f3474b6af14b8aa3ba4fa6ea2f3dabeee381..0fc767f7985295282a00bcc87182d99e52f57677 100644
(file)
--- a/
jstest/jst-lower.rs
+++ b/
jstest/jst-lower.rs
@@
-194,11
+194,13
@@
fake_dom[{{ loop.index0 }}].nextElementSibling = fake_dom[{{ loop.index }}];
{%- endfor %}
fake_dom[{{ pieces | length }}].nextElementSibling = fake_dom[{{ pieces | length + 1 }}];
-{% for t in targets -%}
uorecord = {
- targets: ['{{ t }}'],
-};
+ targets: [
+{%- for t in targets %}
+ '{{ t }}',
{%- endfor %}
+ ],
+};
lower_targets(uorecord);