Changeset 41505 for branches/4.0/tests/phpunit/tests/db.php
- Timestamp:
- 09/19/2017 06:41:11 PM (8 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/tests/phpunit/tests/db.php
r41479 r41505 808 808 return 'fake_col_charset'; 809 809 } 810 811 /** 812 * 813 */ 814 function test_prepare_with_unescaped_percents() { 815 global $wpdb; 816 817 $sql = $wpdb->prepare( '%d %1$d %%% %', 1 ); 818 $this->assertEquals( '1 %1$d %% %', $sql ); 819 } 810 820 } 811 821
Note: See TracChangeset
for help on using the changeset viewer.