Skip to content

Commit 80c6a4a

Browse files
committed
test: add failing tests for other list item prefixes
1 parent 18eba92 commit 80c6a4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Task/ListItem.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,12 @@ describe('list item tests', () => {
7878

7979
it.each([
8080
['- ', true],
81-
[' - ', true],
81+
['* ', false],
82+
['+ ', false],
8283
['17. ', false],
84+
[' - ', true],
85+
['> - ', false],
86+
['> > - ', false],
8387
])('should parse description with list item prefix: "%s"', (prefix: string, shouldPass) => {
8488
const description = 'stuff';
8589
const line = prefix + description;

0 commit comments

Comments
 (0)