mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
13894 Use Unicode Segmentation's graphemes
Add test with multi-character grapheme Run cargo update
This commit is contained in:
parent
bfd966f819
commit
06db231f5f
7 changed files with 32 additions and 1 deletions
|
@ -43,4 +43,8 @@ fn text_emphasis_style_longhand_should_parse_properly() {
|
|||
let unicode_string = parse_longhand!(text_emphasis_style, "\"\\25B2\"");
|
||||
let unicode_string_struct = SpecifiedValue::String("▲".to_string());
|
||||
assert_eq!(unicode_string, unicode_string_struct);
|
||||
|
||||
let devanagari_string = parse_longhand!(text_emphasis_style, "\"षि\"");
|
||||
let devanagari_string_struct = SpecifiedValue::String("षि".to_string());
|
||||
assert_eq!(devanagari_string, devanagari_string_struct);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue