Changeset 52010 for trunk/tests/phpunit/tests/formatting/escAttr.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/escAttr.php
r51623 r52010 5 5 */ 6 6 class Tests_Formatting_EscAttr extends WP_UnitTestCase { 7 function test_esc_attr_quotes() {7 public function test_esc_attr_quotes() { 8 8 $attr = '"double quotes"'; 9 9 $this->assertSame( '"double quotes"', esc_attr( $attr ) ); … … 26 26 } 27 27 28 function test_esc_attr_amp() {28 public function test_esc_attr_amp() { 29 29 $out = esc_attr( 'foo & bar &baz; ' ); 30 30 $this->assertSame( 'foo & bar &baz; ', $out );
Note: See TracChangeset
for help on using the changeset viewer.