summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-10-17 22:35:34 +0100
committerpraschke <stel@comfy.monster>2023-10-17 22:35:34 +0100
commit4527cc03fe88cd747d0eb62a65d9d54247653483 (patch)
treed40a96e7637750728e872a695fb384f035ebdb25 /test
parent9b798601b48a40b65e38b433924a99d155872ba7 (diff)
update: pronunciation
Diffstat (limited to 'test')
-rw-r--r--test/test-options-util.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 23cfc121..d94028c0 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -1562,6 +1562,24 @@ async function testFieldTemplatesUpdate(extDir) {
{{/inline}}
{{~> (lookup . "marker") ~}}`.trimStart()
+ },
+ // block helper update: pronunciation
+ {
+ oldVersion: 20,
+ newVersion: 21,
+ old: `
+{{#*inline "pitch-accent-item"}}
+ {{~#pronunciation format=format reading=reading downstepPosition=position nasalPositions=nasalPositions devoicePositions=devoicePositions~}}{{~/pronunciation~}}
+{{/inline}}
+
+{{~> (lookup . "marker") ~}}`.trimStart(),
+
+ expected: `
+{{#*inline "pitch-accent-item"}}
+ {{~pronunciation format=format reading=reading downstepPosition=position nasalPositions=nasalPositions devoicePositions=devoicePositions~}}
+{{/inline}}
+
+{{~> (lookup . "marker") ~}}`.trimStart()
}
];