diff options
author | rxu <rxu@mail.ru> | 2015-07-07 22:50:06 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2015-07-07 22:50:06 +0700 |
commit | d63412af4c177a97997ddd65c91ee6ced7760bc9 (patch) | |
tree | d5094346c563853f5f6aebaae71c77fb3e97869a /tests/text_processing | |
parent | [ticket/13377] Fix decoding for www type URLs in function decode_message() (diff) | |
download | phpbb-d63412af4c177a97997ddd65c91ee6ced7760bc9.tar.gz phpbb-d63412af4c177a97997ddd65c91ee6ced7760bc9.tar.bz2 phpbb-d63412af4c177a97997ddd65c91ee6ced7760bc9.zip |
[ticket/13377] Add test entries
PHPBB3-13377
Diffstat (limited to 'tests/text_processing')
-rw-r--r-- | tests/text_processing/decode_message_test.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/text_processing/decode_message_test.php b/tests/text_processing/decode_message_test.php index c9c1da52d5..7de599f2b1 100644 --- a/tests/text_processing/decode_message_test.php +++ b/tests/text_processing/decode_message_test.php @@ -38,6 +38,14 @@ class phpbb_text_processing_decode_message_test extends phpbb_test_case '<!-- s:) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!-- s:) -->', ':)' ), + array( + '<!-- w --><a class="postlink" href="http://www.phpbb.com">www.phpbb.com</a><!-- w -->', + 'www.phpbb.com' + ), + array( + '<!-- m --><a class="postlink" href="http://www.phpbb.com">http://www.phpbb.com</a><!-- m -->', + 'http://www.phpbb.com' + ), /** * Fails as per PHPBB3-8420 * @link http://tracker.phpbb.com/browse/PHPBB3-8420 |