diff --git a/utils/test/validationUtils/hasValidCharLength.test.ts b/utils/test/validationUtils/hasValidCharLength.test.ts index b868f22f56..6c1695bcfa 100644 --- a/utils/test/validationUtils/hasValidCharLength.test.ts +++ b/utils/test/validationUtils/hasValidCharLength.test.ts @@ -36,5 +36,5 @@ export function hasValidCharLengthTest() { assert.equal(validationUtils.hasValidCharLength(value, constraints), false); } - assert.throws(() => validationUtils.hasValidCharLength('abcdefg', { lowerLimitIncl: 5, upperLimitIncl: -5 })); + assert.throws(() => validationUtils.hasValidCharLength('abcdefg', { lowerLimitIncl: 5, upperLimitIncl: 4 })); }