From b2342945403c27e346446bbe316f075ed2b13eff Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 16 Jan 2021 15:29:42 -0500 Subject: Stroke count marker (#1251) * Add stroke-count definition * Update options * Update documentation * Add helper --- test/test-options-util.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test') 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() } -- cgit v1.2.3