Changeset 41506 for branches/3.9/tests/phpunit/tests/db.php
- Timestamp:
- 09/19/2017 06:42:25 PM (8 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/tests/phpunit/tests/db.php
r41480 r41506 709 709 return 'fake_col_charset'; 710 710 } 711 712 /** 713 * 714 */ 715 function test_prepare_with_unescaped_percents() { 716 global $wpdb; 717 718 $sql = $wpdb->prepare( '%d %1$d %%% %', 1 ); 719 $this->assertEquals( '1 %1$d %% %', $sql ); 720 } 711 721 } 712 722
Note: See TracChangeset
for help on using the changeset viewer.