From e4dc2be4c12a5578bfb5d5945a592907aed1cb4f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Sep 2023 10:36:59 -0300 Subject: data, test: type validation message adjustments --- .../data/composite/common-utilities/withResultOfAvailabilityCheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/data') diff --git a/test/unit/data/composite/common-utilities/withResultOfAvailabilityCheck.js b/test/unit/data/composite/common-utilities/withResultOfAvailabilityCheck.js index 01220a3a..c6fa7b21 100644 --- a/test/unit/data/composite/common-utilities/withResultOfAvailabilityCheck.js +++ b/test/unit/data/composite/common-utilities/withResultOfAvailabilityCheck.js @@ -168,7 +168,7 @@ t.test(`withResultOfAvailabilityCheck: validate static inputs`, t => { t.match(caughtError, { message: /Errors in input options passed to withResultOfAvailabilityCheck/, errors: [ - /mode: Expected value, got null/, + /mode: Expected a value, got null/, ], }); }); @@ -218,7 +218,7 @@ t.test(`withResultOfAvailabilityCheck: validate dynamic inputs`, t => { cause: { message: /Errors in input values provided to withResultOfAvailabilityCheck/, errors: [ - /mode: Expected value, got null/, + /mode: Expected a value, got null/, ], }, }, -- cgit 1.3.0-6-gf8a5