diff options
author | praschke <stel@comfy.monster> | 2023-10-17 22:35:34 +0100 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-17 22:35:34 +0100 |
commit | 4527cc03fe88cd747d0eb62a65d9d54247653483 (patch) | |
tree | d40a96e7637750728e872a695fb384f035ebdb25 /test/test-options-util.js | |
parent | 9b798601b48a40b65e38b433924a99d155872ba7 (diff) |
update: pronunciation
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r-- | test/test-options-util.js | 18 |
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() } ]; |