aboutsummaryrefslogtreecommitdiff
path: root/test/test-options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-16 15:29:42 -0500
committerGitHub <noreply@github.com>2021-01-16 15:29:42 -0500
commitb2342945403c27e346446bbe316f075ed2b13eff (patch)
tree690a065de66ece5e0b395dbc2811d3d9fdbe13f9 /test/test-options-util.js
parent0ac35771192adb87d76809aff171d60a5d0018c3 (diff)
Stroke count marker (#1251)
* Add stroke-count definition * Update options * Update documentation * Add helper
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r--test/test-options-util.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index d6dae940..307638e2 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -614,6 +614,7 @@ async function testFieldTemplatesUpdate(extDir) {
const update2 = loadDataFile('bg/data/anki-field-templates-upgrade-v2.handlebars');
const update4 = loadDataFile('bg/data/anki-field-templates-upgrade-v4.handlebars');
const update6 = loadDataFile('bg/data/anki-field-templates-upgrade-v6.handlebars');
+ const update8 = loadDataFile('bg/data/anki-field-templates-upgrade-v8.handlebars');
const data = [
// Standard format
@@ -633,6 +634,7 @@ async function testFieldTemplatesUpdate(extDir) {
${update2}
${update4}
${update6}
+${update8}
{{~> (lookup . "marker") ~}}`.trimStart()
},
// Non-standard marker format
@@ -652,7 +654,8 @@ ${update6}
{{~> (lookup . "marker2") ~}}
${update2}
${update4}
-${update6}`.trimStart()
+${update6}
+${update8}`.trimStart()
},
// Empty test
{
@@ -663,6 +666,7 @@ ${update6}`.trimStart()
${update2}
${update4}
${update6}
+${update8}
{{~> (lookup . "marker") ~}}`.trimStart()
},
// Definition tags update
@@ -735,6 +739,7 @@ ${update6}
${update2}
${update4}
${update6}
+${update8}
{{~> (lookup . "marker") ~}}
`.trimStart()
}