- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/stripslashesDeep.php
r51623 r52010 9 9 * @ticket 18026 10 10 */ 11 function test_preserves_original_datatype() {11 public function test_preserves_original_datatype() { 12 12 13 13 $this->assertTrue( stripslashes_deep( true ) ); … … 32 32 } 33 33 34 function test_strips_slashes() {34 public function test_strips_slashes() { 35 35 $old = "I can\'t see, isn\'t that it?"; 36 36 $new = "I can't see, isn't that it?"; … … 47 47 } 48 48 49 function test_permits_escaped_slash() {49 public function test_permits_escaped_slash() { 50 50 $txt = "I can't see, isn\'t that it?"; 51 51 $this->assertSame( $txt, stripslashes_deep( "I can\'t see, isn\\\'t that it?" ) );
Note: See TracChangeset
for help on using the changeset viewer.