Changeset 34771 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 10/02/2015 08:54:52 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r34474 r34771 604 604 */ 605 605 function test_wp_json_encode_non_utf8() { 606 if ( ! function_exists( 'mb_detect_order' ) ) { 607 $this->markTestSkipped( 'mbstring extension not available.' ); 608 } 609 606 610 $old_charsets = $charsets = mb_detect_order(); 607 611 if ( ! in_array( 'EUC-JP', $charsets ) ) { … … 624 628 */ 625 629 function test_wp_json_encode_non_utf8_in_array() { 630 if ( ! function_exists( 'mb_detect_order' ) ) { 631 $this->markTestSkipped( 'mbstring extension not available.' ); 632 } 633 626 634 $old_charsets = $charsets = mb_detect_order(); 627 635 if ( ! in_array( 'EUC-JP', $charsets ) ) {
Note: See TracChangeset
for help on using the changeset viewer.