Skip to content

Commit 1b35f8d

Browse files
committed
Update mdast-util-to-markdown
1 parent 19aa740 commit 1b35f8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"to-markdown.js"
3636
],
3737
"dependencies": {
38-
"mdast-util-to-markdown": "^0.3.0"
38+
"mdast-util-to-markdown": "^0.4.0"
3939
},
4040
"devDependencies": {
4141
"mdast-util-from-markdown": "^0.7.0",

test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ test('mdast -> markdown', function (t) {
153153
},
154154
{extensions: [taskListItem.toMarkdown]}
155155
),
156-
'* [x] a',
156+
'* [x] a\n',
157157
'should serialize a checked list item'
158158
)
159159

@@ -166,7 +166,7 @@ test('mdast -> markdown', function (t) {
166166
},
167167
{extensions: [taskListItem.toMarkdown]}
168168
),
169-
'* [ ] b',
169+
'* [ ] b\n',
170170
'should serialize an unchecked list item'
171171
)
172172

@@ -178,7 +178,7 @@ test('mdast -> markdown', function (t) {
178178
},
179179
{extensions: [taskListItem.toMarkdown]}
180180
),
181-
'* c',
181+
'* c\n',
182182
'should serialize an normal list item'
183183
)
184184

@@ -199,7 +199,7 @@ test('mdast -> markdown', function (t) {
199199
},
200200
{extensions: [taskListItem.toMarkdown]}
201201
),
202-
'* [d]: definition\n\n e',
202+
'* [d]: definition\n\n e\n',
203203
'should ignore `checked` if the head is not a paragraph'
204204
)
205205

0 commit comments

Comments
 (0)