summaryrefslogtreecommitdiff
path: root/test/test-database.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-14 18:45:18 -0400
committerGitHub <noreply@github.com>2022-05-14 18:45:18 -0400
commit8b206e4d0458892d30661353bfb95c6dcefe5b67 (patch)
treedc18db4a7776b0a104b7b60827b55307f1a26770 /test/test-database.js
parentfd75e91e7544939faf302caef453a81cef48f420 (diff)
Update structured content tests (#2134)
Diffstat (limited to 'test/test-database.js')
-rw-r--r--test/test-database.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-database.js b/test/test-database.js
index ef2c6b78..6124f42e 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -155,7 +155,7 @@ async function testDatabase1() {
media: {total: 4},
tagMeta: {total: 15},
termMeta: {total: 38, freq: 31, pitch: 7},
- terms: {total: 20}
+ terms: {total: 21}
}
};
@@ -182,8 +182,8 @@ async function testDatabase1() {
true
);
vm.assert.deepStrictEqual(counts, {
- counts: [{kanji: 2, kanjiMeta: 6, terms: 20, termMeta: 38, tagMeta: 15, media: 4}],
- total: {kanji: 2, kanjiMeta: 6, terms: 20, termMeta: 38, tagMeta: 15, media: 4}
+ counts: [{kanji: 2, kanjiMeta: 6, terms: 21, termMeta: 38, tagMeta: 15, media: 4}],
+ total: {kanji: 2, kanjiMeta: 6, terms: 21, termMeta: 38, tagMeta: 15, media: 4}
});
// Test find* functions