Keep the new assert messages inside the format width

This commit is contained in:
Dennis Kobert
2026-09-08 13:29:09 +00:00
parent d4768d606f
commit b321c094d2
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ fn assert_deep_element_glue() {
("graphic", core_types::record::has_deep_element_glue(std::any::TypeId::of::<graphic_types::Graphic<'static>>())),
("artboard", core_types::record::has_deep_element_glue(std::any::TypeId::of::<graphic_types::Artboard<'static>>())),
] {
assert!(registered, "deep element glue for `{name}` is not registered; the host must run `__node_registry_deep_element_{name}` before evaluating");
assert!(registered, "deep element glue for `{name}` is missing; run `__node_registry_deep_element_{name}` first");
}
}

View File

@@ -606,7 +606,7 @@ mod tests {
assert!(unsafe { transient.move_park::<Probe>(src, &second, 21) }.is_none(), "a sharer naming another destination is refused");
first.reset();
assert!(unsafe { transient.move_park::<Probe>(src, &first, 21) }.is_none(), "a destination that has flushed since is refused too");
assert!(unsafe { transient.move_park::<Probe>(src, &first, 21) }.is_none(), "a flushed destination is refused too");
}
#[test]