Skip to content

Commit

Permalink
Coverage improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Oct 4, 2016
1 parent b274a1a commit e4f53eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/fixtures/autolinks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ disallow shortcuts inside autolinks
disallow emojis inside autolinks
.
<http://www.example.org/foo:joy:bar> :joy:

[bar](http://www.example.org/foo:joy:)
.
<p><a href="http://www.example.org/foo:joy:bar">http://www.example.org/foo:joy:bar</a> 😂</p>
<p><a href="http://www.example.org/foo:joy:">bar</a></p>
.

disallow shortcuts inside linkified text
Expand Down
8 changes: 8 additions & 0 deletions test/fixtures/default/emojis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ Unknown name
.
<p>😂 :qwerty:</p>
.


Don't allow letters after shortcuts
.
:) :)123 :)abc
.
<p>😃 :)123 :)abc</p>
.

0 comments on commit e4f53eb

Please sign in to comment.