diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-23 14:03:37 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-28 10:25:11 -0400 |
commit | 93f7278586f7b943ae49c00cd14559a2f4b99561 (patch) | |
tree | 07fb38f61c61281551690f6aad7c81241b50c17b /test/test-database.js | |
parent | a0c4ce779d35cab39c62ca42ad3fe58a82faa1bb (diff) |
Update dictionary schema to support pitch accent data
Diffstat (limited to 'test/test-database.js')
-rw-r--r-- | test/test-database.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test-database.js b/test/test-database.js index 833aa75d..dbd67257 100644 --- a/test/test-database.js +++ b/test/test-database.js @@ -231,8 +231,8 @@ async function testDatabase1() { true ); vm.assert.deepStrictEqual(counts, { - counts: [{kanji: 2, kanjiMeta: 2, terms: 32, termMeta: 3, tagMeta: 12}], - total: {kanji: 2, kanjiMeta: 2, terms: 32, termMeta: 3, tagMeta: 12} + counts: [{kanji: 2, kanjiMeta: 2, terms: 32, termMeta: 6, tagMeta: 14}], + total: {kanji: 2, kanjiMeta: 2, terms: 32, termMeta: 6, tagMeta: 14} }); // Test find* functions @@ -648,9 +648,10 @@ async function testFindTermMetaBulk1(database, titles) { } ], expectedResults: { - total: 1, + total: 3, modes: [ - ['freq', 1] + ['freq', 1], + ['pitch', 2] ] } }, |