- Timestamp:
- 02/20/2024 07:09:43 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/fonts/font-library/wpFontUtils/sanitizeFontFamily.php
r57539 r57657 36 36 return array( 37 37 'data_families_with_spaces_and_numbers' => array( 38 'font_family' => ' Rock 3D , Open Sans,serif',39 'expected' => ' "Rock 3D", "Open Sans", serif',38 'font_family' => 'Arial, Rock 3D , Open Sans,serif', 39 'expected' => 'Arial, "Rock 3D", "Open Sans", serif', 40 40 ), 41 41 'data_single_font_family' => array( 42 42 'font_family' => 'Rock 3D', 43 43 'expected' => '"Rock 3D"', 44 ),45 'data_no_spaces' => array(46 'font_family' => 'Rock3D',47 'expected' => 'Rock3D',48 44 ), 49 45 'data_many_spaces_and_existing_quotes' => array( … … 59 55 'expected' => '"Rock 3D"', 60 56 ), 57 'data_font_family_with_generic_names' => array( 58 'font_family' => 'generic(kai), generic(font[name]), generic(fangsong), Rock 3D', 59 'expected' => 'generic(kai), "generic(font[name])", generic(fangsong), "Rock 3D"', 60 ), 61 61 ); 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.