Fix failing test
This commit is contained in:
1 parent
0ddfa1a3f5
commit
9d7963040d
2 files changed
+5
-1
No files matched your search
@@ -1550,7 +1550,7 @@ mod tests {
|
||||
block_id: ix,
|
||||
editor_style: &editor::EditorStyle::default(),
|
||||
})
|
||||
.element_id()?
|
||||
.inner_id()?
|
||||
.try_into()
|
||||
.ok()?,
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user