Merge pull request #8783 from storytold/fix/inline-fonts-lock

Tests: the inline refresh test holds the fonts lock
This commit is contained in:
BFlat authored and GitHub committed 2026-11-20 04:08:44 +07:00
commit 25a33e5530
1 file changed
+3
+3
View File
@@ -579,6 +579,9 @@ fn same_as_full_pass(full: &mut Session, fast: &mut Session, step: &dyn Fn(&mut
/// natural size or anything else a symbol is measured with checks them all.
#[test]
fn refreshing_only_changed_trees_matches_the_full_pass() {
// Both sessions lay out type, and the test rescans the fonts: a font another test adds between
// the full pass and the fast one would change how the type resolves in only one of them.
let _fonts = crate::adding_fonts();
let setup = |s: &mut Session| {
circle_symbol(s, "Tap", 10.0);
circle_symbol(s, "Dot", 6.0);