diff options
author | Andrey Andreev <narf@devilix.net> | 2017-11-10 14:02:42 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-11-10 14:02:42 +0100 |
commit | 8c9e51044d991868228dba8b9d5141998347dbfe (patch) | |
tree | 997b16c37e885d576734b96c7cf49c3aa4878c19 /tests/codeigniter/helpers/url_helper_test.php | |
parent | e176de516a86baef1f48f3bf9e63818985f6a034 (diff) |
Fix #5331
Diffstat (limited to 'tests/codeigniter/helpers/url_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/url_helper_test.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/codeigniter/helpers/url_helper_test.php b/tests/codeigniter/helpers/url_helper_test.php index 5fbc364bf..83a8c0ec2 100644 --- a/tests/codeigniter/helpers/url_helper_test.php +++ b/tests/codeigniter/helpers/url_helper_test.php @@ -77,4 +77,13 @@ class Url_helper_test extends CI_TestCase { } } + // -------------------------------------------------------------------- + + public function test_issue_5331() + { + $this->assertEquals( + 'this is some text that includes '.safe_mailto('www.email@domain.com').' which is causing an issue', + auto_link('this is some text that includes www.email@domain.com which is causing an issue') + ); + } } |