From 32f5dfa4b3c12dec18d0655160f9d49ca93b16d9 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 6 Nov 2023 15:34:52 -0400 Subject: sugar: separate annotateError functions & utilities --- test/unit/data/composite/data/withPropertiesFromObject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/unit/data/composite/data/withPropertiesFromObject.js b/test/unit/data/composite/data/withPropertiesFromObject.js index ead1b9b2..cb1d8d21 100644 --- a/test/unit/data/composite/data/withPropertiesFromObject.js +++ b/test/unit/data/composite/data/withPropertiesFromObject.js @@ -207,7 +207,7 @@ t.test(`withPropertiesFromObject: validate static inputs`, t => { {message: `object: Expected an object, got array`}, {message: `properties: Errors validating array items`, errors: [ { - [Symbol.for('hsmusic.decorate.indexInSourceArray')]: 2, + [Symbol.for('hsmusic.annotateError.indexInSourceArray')]: 2, message: /Expected a string, got number/, }, ]}, @@ -240,7 +240,7 @@ t.test(`withPropertiesFromObject: validate dynamic inputs`, t => { {message: `object: Expected an object, got array`}, {message: `properties: Errors validating array items`, errors: [ { - [Symbol.for('hsmusic.decorate.indexInSourceArray')]: 2, + [Symbol.for('hsmusic.annotateError.indexInSourceArray')]: 2, message: /Expected a string, got number/, }, ]}, -- cgit 1.3.0-6-gf8a5