Skip to content

Commit

Permalink
add newline to space test
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 24, 2020
1 parent 60d810f commit 6ad20ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/unit/Lexer-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,15 @@ a | b
]
});
});

it('newline to space', () => {
expectInlineTokens({
md: '`a\nb`',
tokens: [
{ type: 'codespan', raw: '`a\nb`', text: 'a b' }
]
});
});
});

it('br', () => {
Expand Down

0 comments on commit 6ad20ac

Please sign in to comment.