aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_unfurl.py
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2015-08-29 18:00:42 +0200
committerTollef Fog Heen <tfheen@err.no>2015-08-29 18:00:42 +0200
commitd46b8366cb1e35fd939b4e3e6f8bf087b2208c1b (patch)
tree9c22d7cfc3de3b8fc21c7bf14b91e5faa479a7dc /_pytest/test_unfurl.py
parent5567f3f5b14445820b4a08f076b193a6f4c173c7 (diff)
downloadwee-slack-d46b8366cb1e35fd939b4e3e6f8bf087b2208c1b.tar.gz
Handle unfurling of things with no alt text correctly as well
Diffstat (limited to '_pytest/test_unfurl.py')
-rw-r--r--_pytest/test_unfurl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py
index 8c7f96e..9af7cf2 100644
--- a/_pytest/test_unfurl.py
+++ b/_pytest/test_unfurl.py
@@ -15,6 +15,9 @@ unfurl_map = [
{ "input": "foo <#C2147483705|#otherchannel> foo",
"output": "foo #otherchannel foo",
},
+ { "input": "foo <#C2147483705> foo",
+ "output": "foo #testchan foo",
+ },
{ "input": "url: <https://example.com|example> suffix",
"output": "url: https://example.com (example) suffix",
},