From e4f53ebd19512f375ae1d7ea464f5c77f1bb46dd Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Tue, 4 Oct 2016 16:29:39 +0300 Subject: [PATCH] Coverage improve --- test/fixtures/autolinks.txt | 3 +++ test/fixtures/default/emojis.txt | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/test/fixtures/autolinks.txt b/test/fixtures/autolinks.txt index aa18968..e5fc2c1 100644 --- a/test/fixtures/autolinks.txt +++ b/test/fixtures/autolinks.txt @@ -12,8 +12,11 @@ disallow shortcuts inside autolinks disallow emojis inside autolinks . :joy: + +[bar](http://www.example.org/foo:joy:) .

http://www.example.org/foo:joy:bar 😂

+

bar

. disallow shortcuts inside linkified text diff --git a/test/fixtures/default/emojis.txt b/test/fixtures/default/emojis.txt index bd8ac58..4cb0dc5 100644 --- a/test/fixtures/default/emojis.txt +++ b/test/fixtures/default/emojis.txt @@ -33,3 +33,11 @@ Unknown name .

😂 :qwerty:

. + + +Don't allow letters after shortcuts +. +:) :)123 :)abc +. +

😃 :)123 :)abc

+.