Skip to content

Commit bf1bcf6

Browse files
committed
Test: change min-char to max-char
1 parent 6c245c0 commit bf1bcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rules/availableRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test('rules mxChar', (t) => {
4848

4949
test('-1 in maxChar', (t) => {
5050
const rulesObj = {
51-
'min-char': -1,
51+
'max-char': -1,
5252
};
5353
const longText = rules.maxChar('this are more than 72 characters, believe me or not but the value moreThanMaxChar will be true ;-P', { rules: rulesObj }).check();
5454
const shortText = rules.maxChar('this are less than 72 characters', { rules: rulesObj }).check();

0 commit comments

Comments
 (0)