Fix failing test

This commit is contained in:
Mikayla committed 2023-11-22 13:41:48 -08:00
1 parent 0ddfa1a3f5
commit 9d7963040d
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -1550,7 +1550,7 @@ mod tests {
block_id: ix,
editor_style: &editor::EditorStyle::default(),
})
.element_id()?
.inner_id()?
.try_into()
.ok()?,
+4
View File
@@ -463,6 +463,10 @@ impl AnyElement {
pub fn into_any(self) -> AnyElement {
AnyElement::new(self)
}
pub fn inner_id(&self) -> Option<ElementId> {
self.0.element_id()
}
}
impl Element for AnyElement {