Changeset 42343 for trunk/tests/phpunit/tests/formatting/Utf8UriEncode.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/Utf8UriEncode.php
r25002 r42343 13 13 */ 14 14 function test_percent_encodes_non_reserved_characters( $utf8, $urlencoded ) { 15 $this->assertEquals( $urlencoded, utf8_uri_encode( $utf8 ) );15 $this->assertEquals( $urlencoded, utf8_uri_encode( $utf8 ) ); 16 16 } 17 17 … … 25 25 26 26 function data() { 27 $utf8_urls = file( DIR_TESTDATA . '/formatting/utf-8/utf-8.txt' );28 $urlencoded = file( DIR_TESTDATA . '/formatting/utf-8/urlencoded.txt' );29 $data_provided = array();27 $utf8_urls = file( DIR_TESTDATA . '/formatting/utf-8/utf-8.txt' ); 28 $urlencoded = file( DIR_TESTDATA . '/formatting/utf-8/urlencoded.txt' ); 29 $data_provided = array(); 30 30 foreach ( $utf8_urls as $key => $value ) { 31 31 $data_provided[] = array( trim( $value ), trim( $urlencoded[ $key ] ) );
Note: See TracChangeset
for help on using the changeset viewer.