Tests: Fix typo in `Tests_Functions_AllowedProtocols::data_example_urls()`.

Props redrambles.
Fixes #41415.

git-svn-id: https://develop.svn.wordpress.org/trunk@41124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-07-24 10:02:52 +00:00
parent 3f30fd2866
commit cf84ec6a30
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Tests_Functions_AllowedProtocols extends WP_UnitTestCase {
function data_example_urls() { function data_example_urls() {
return array( return array(
array( 'http', 'http://example.com' ), // RFC7230 array( 'http', 'http://example.com' ), // RFC7230
array( 'https', 'http://example.com' ), // RFC7230 array( 'https', 'https://example.com' ), // RFC7230
array( 'ftp', 'ftp://example.com' ), // RFC1738 array( 'ftp', 'ftp://example.com' ), // RFC1738
array( 'ftps', 'ftps://example.com' ), array( 'ftps', 'ftps://example.com' ),
array( 'mailto', 'mailto://someone@example.com' ), // RFC6068 array( 'mailto', 'mailto://someone@example.com' ), // RFC6068