From 388d3987b7a6158ece5cbc2856ffcda78a53866e Mon Sep 17 00:00:00 2001 From: Zed Date: Wed, 3 Jul 2019 12:20:49 +0200 Subject: [PATCH] Add tests to prevent username regex bugs --- tests/test_tweet.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_tweet.py b/tests/test_tweet.py index ac76450..6671ecb 100644 --- a/tests/test_tweet.py +++ b/tests/test_tweet.py @@ -55,6 +55,14 @@ link = [ ]], ['hiankun_taioan/status/1086916335215341570', [ '(hackernoon.com/interview-wit…)' + ]], + ['archillinks/status/1146302618223951873', [ + 'flickr.com/photos/87101284@N…', + 'hisafoto.tumblr.com/post/176…' + ]], + ['archillinks/status/1146292551936335873', [ + 'flickr.com/photos/michaelrye…', + 'furtho.tumblr.com/post/16618…' ]] ]