We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6565ab1 commit d24404aCopy full SHA for d24404a
@commitlint/core/src/library/to-lines.test.js
@@ -5,6 +5,10 @@ test('should return an array for empty input', t => {
5
t.deepEqual(toLines(), []);
6
});
7
8
+test.failing('should return an array for null input', t => {
9
+ t.deepEqual(toLines(null), []);
10
+});
11
+
12
test('should return an array for empty string input', t => {
13
t.deepEqual(toLines(''), ['']);
14
0 commit comments