浏览代码

Add tests to prevent username regex bugs

Zed 7 年之前
父节点
当前提交
388d3987b7
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      tests/test_tweet.py

+ 8 - 0
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…'
     ]]
 ]