diff --git a/crates/thing-core/tests/cells.rs b/crates/thing-core/tests/cells.rs index 2eade32..791cc7a 100644 --- a/crates/thing-core/tests/cells.rs +++ b/crates/thing-core/tests/cells.rs @@ -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]