thing2(text): pin RI plus non-RI extension coalescing across dropped cluster
This commit is contained in:
parent
de80ee2414
commit
07aa8d9b00
1 changed files with 3 additions and 0 deletions
|
|
@ -526,6 +526,9 @@ fn ri_does_not_re_pair_across_dropped_cluster() {
|
|||
assert_eq!(pair_wrapped.lines[1].stops, [Stop { byte: 7, x: 0.0 }, Stop { byte: 11, x: 1.0 }]);
|
||||
|
||||
assert_eq!(&CellText::new(text), full);
|
||||
// An RI followed by a non-RI extension across a dropped cluster still coalesces (only RI+RI is blocked).
|
||||
assert_eq!(CellText::new("\u{1f1ef}\u{200b}\u{1f3fd}").clusters().count(), 1);
|
||||
check_geometry("\u{1f1ef}\u{200b}\u{1f3fd}", false, None, 80.0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue