« get me outta code hell

data, test: type validation message adjustments - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/unit
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-29 10:36:59 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-29 10:36:59 -0300
commite4dc2be4c12a5578bfb5d5945a592907aed1cb4f (patch)
tree71e3a201eba0889d1e912d5d049696f8a094bf09 /test/unit
parent90492f9e58251f63a1175d0e52d76f00fa78e3bf (diff)
data, test: type validation message adjustments
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/data/composite/common-utilities/withResultOfAvailabilityCheck.js4
1 files changed, 2 insertions, 2 deletions
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/,
         ],
       },
     },