diff options
author | Andrey Andreev <narf@devilix.net> | 2017-09-29 11:04:38 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-09-29 11:04:38 +0200 |
commit | 6b08edf5d6ab24310460147a1c9785b80eca6304 (patch) | |
tree | 0e0c8d9c077b00f881069109d4422c0ab73b44e3 /tests/codeigniter/helpers/url_helper_test.php | |
parent | 00b050a5b4bb8a06e792cf297c4bcd3b9ede6d7e (diff) |
Add testcase and changelog entry for #5278
Diffstat (limited to 'tests/codeigniter/helpers/url_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/url_helper_test.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/codeigniter/helpers/url_helper_test.php b/tests/codeigniter/helpers/url_helper_test.php index 24823a634..5fbc364bf 100644 --- a/tests/codeigniter/helpers/url_helper_test.php +++ b/tests/codeigniter/helpers/url_helper_test.php @@ -53,7 +53,8 @@ class Url_helper_test extends CI_TestCase { '<br />www.google.com' => '<br /><a href="http://www.google.com">www.google.com</a>', 'Download CodeIgniter at www.codeigniter.com. Period test.' => 'Download CodeIgniter at <a href="http://www.codeigniter.com">www.codeigniter.com</a>. Period test.', 'Download CodeIgniter at www.codeigniter.com, comma test' => 'Download CodeIgniter at <a href="http://www.codeigniter.com">www.codeigniter.com</a>, comma test', - 'This one: ://codeigniter.com must not break this one: http://codeigniter.com' => 'This one: <a href="://codeigniter.com">://codeigniter.com</a> must not break this one: <a href="http://codeigniter.com">http://codeigniter.com</a>' + 'This one: ://codeigniter.com must not break this one: http://codeigniter.com' => 'This one: <a href="://codeigniter.com">://codeigniter.com</a> must not break this one: <a href="http://codeigniter.com">http://codeigniter.com</a>', + 'Trailing slash: https://codeigniter.com/ fubar' => 'Trailing slash: <a href="https://codeigniter.com/">https://codeigniter.com/</a> fubar' ); foreach ($strings as $in => $out) @@ -76,4 +77,4 @@ class Url_helper_test extends CI_TestCase { } } -}
\ No newline at end of file +} |