Skip to content

Commit 3ccdce4

Browse files
committed
Refactor comment-style
1 parent 963b53e commit 3ccdce4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,38 @@ test('unist-util-source', function(t) {
1515

1616
t.equal(source(node, file), '> + **[Hello](./example)**\n> world.')
1717

18-
/* Blockquote. */
18+
// Blockquote.
1919
node = tree.children[0]
2020
t.equal(source(node, file), '> + **[Hello](./example)**\n> world.')
2121

22-
/* List. */
22+
// List.
2323
node = node.children[0]
2424
t.equal(source(node, file), '+ **[Hello](./example)**\nworld.')
2525

26-
/* List-item. */
26+
// List-item.
2727
node = node.children[0]
2828
t.equal(source(node, file), '+ **[Hello](./example)**\nworld.')
2929

30-
/* Paragraph. */
30+
// Paragraph.
3131
node = node.children[0]
3232
t.equal(source(node, file), '**[Hello](./example)**\nworld.')
3333

34-
/* Strong. */
34+
// Strong.
3535
node = node.children[0]
3636
t.equal(source(node, file), '**[Hello](./example)**')
3737

38-
/* Link. */
38+
// Link.
3939
node = node.children[0]
4040
t.equal(source(node, file), '[Hello](./example)')
4141

42-
/* Text. */
42+
// Text.
4343
node = node.children[0]
4444
t.equal(source(node, file), 'Hello')
4545

46-
/* Generated. */
46+
// Generated.
4747
t.equal(source({type: node.type, value: node.value}, file), null)
4848

49-
/* Missing. */
49+
// Missing.
5050
t.equal(source(null, file), null)
5151
}
5252
})

0 commit comments

Comments
 (0)