Merge branch 'project-diagnostics-pinned-tab' into style-project-diagnostics
This commit is contained in:
commit
c9b4bb78f2
13 changed files with 118 additions and 70 deletions
|
@ -492,7 +492,15 @@ mod tests {
|
|||
.await;
|
||||
cx.read(|cx| {
|
||||
let active_item = active_pane.read(cx).active_item().unwrap();
|
||||
assert_eq!(active_item.title(cx), "bandana");
|
||||
assert_eq!(
|
||||
active_item
|
||||
.to_any()
|
||||
.downcast::<Editor>()
|
||||
.unwrap()
|
||||
.read(cx)
|
||||
.title(cx),
|
||||
"bandana"
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue