Changeset 52010 for trunk/tests/phpunit/tests/formatting/wpSlash.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/wpSlash.php
r51623 r52010 55 55 * @ticket 24106 56 56 */ 57 function test_adds_slashes() {57 public function test_adds_slashes() { 58 58 $old = "I can't see, isn't that it?"; 59 59 $new = "I can\'t see, isn\'t that it?"; … … 67 67 * @ticket 24106 68 68 */ 69 function test_preserves_original_datatype() {69 public function test_preserves_original_datatype() { 70 70 71 71 $this->assertTrue( wp_slash( true ) ); … … 93 93 * @ticket 24106 94 94 */ 95 function test_add_even_more_slashes() {95 public function test_add_even_more_slashes() { 96 96 $old = 'single\\slash double\\\\slash triple\\\\\\slash'; 97 97 $new = 'single\\\\slash double\\\\\\\\slash triple\\\\\\\\\\\\slash';
Note: See TracChangeset
for help on using the changeset viewer.