mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
Silence spurious log error
co-authored-by: Kay <kay@zed.dev>
This commit is contained in:
parent
a3da41bfad
commit
bfb43c67f8
2 changed files with 4 additions and 4 deletions
|
@ -470,7 +470,7 @@ mod tests {
|
|||
use super::*;
|
||||
use crate::{
|
||||
dock,
|
||||
item::test::TestItem,
|
||||
item::{self, test::TestItem},
|
||||
persistence::model::{
|
||||
SerializedItem, SerializedPane, SerializedPaneGroup, SerializedWorkspace,
|
||||
},
|
||||
|
@ -492,7 +492,7 @@ mod tests {
|
|||
Settings::test_async(cx);
|
||||
|
||||
cx.update(|cx| {
|
||||
register_deserializable_item::<TestItem>(cx);
|
||||
register_deserializable_item::<item::test::TestItem>(cx);
|
||||
});
|
||||
|
||||
let serialized_workspace = SerializedWorkspace {
|
||||
|
@ -508,7 +508,7 @@ mod tests {
|
|||
children: vec![SerializedItem {
|
||||
active: true,
|
||||
item_id: 0,
|
||||
kind: "test".into(),
|
||||
kind: "TestItem".into(),
|
||||
}],
|
||||
},
|
||||
left_sidebar_open: false,
|
||||
|
|
|
@ -919,7 +919,7 @@ pub(crate) mod test {
|
|||
}
|
||||
|
||||
fn serialized_item_kind() -> Option<&'static str> {
|
||||
None
|
||||
Some("TestItem")
|
||||
}
|
||||
|
||||
fn deserialize(
|
||||
|
|
Loading…
Reference in a new issue