Skip to content

Commit 5fccb4e

Browse files
committed
✅ Test: change validate functions in questions
1 parent 3166dbf commit 5fccb4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prompConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ test('validate functions in questions', async (t) => {
4444
const questionsList = await questions(choicesList, configuration);
4545

4646
t.deepEqual(questionsList[1].validate('input text'), true);
47-
t.deepEqual(questionsList[1].validate('This message has over 72 characters so test will fails OMG really, it is so looooooooooooooong'), 'The commit message is not allowed to be longer as 72. Consider writing a body.');
47+
t.deepEqual(questionsList[1].validate('This message has over 72 characters. So this test will definitely fail. I can guarantee that I am telling the truth'), 'The commit message is not allowed to be longer as 72. Consider writing a body.\n');
4848
});

0 commit comments

Comments
 (0)