From ba833983740a43bf11bf121f4425c937e117e0e8 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Wed, 16 Dec 2020 22:58:22 +0100 Subject: [PATCH] fix tests --- tests/encoding.tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/encoding.tests.js b/tests/encoding.tests.js index 65563e9d..c5afd833 100644 --- a/tests/encoding.tests.js +++ b/tests/encoding.tests.js @@ -22,7 +22,7 @@ import { * @param {t.TestCase} tc */ export const testStructReferences = tc => { - t.assert(contentRefs.length === 10) + t.assert(contentRefs.length === 11) t.assert(contentRefs[1] === readContentDeleted) t.assert(contentRefs[2] === readContentJSON) // TODO: deprecate content json? t.assert(contentRefs[3] === readContentBinary) @@ -32,6 +32,7 @@ export const testStructReferences = tc => { t.assert(contentRefs[7] === readContentType) t.assert(contentRefs[8] === readContentAny) t.assert(contentRefs[9] === readContentDoc) + // contentRefs[10] is reserved for Skip structs } /**