Fix buffer search unit tests

This commit is contained in:
Antonio Scandurra
2022-03-30 13:18:31 +02:00
parent fb46615c9f
commit 94097a56a1
+1
View File
@@ -554,6 +554,7 @@ mod tests {
let search_bar = cx.add_view(Default::default(), |cx| {
let mut search_bar = BufferSearchBar::new(cx);
search_bar.set_active_pane_item(Some(&editor), cx);
search_bar.show(false, cx);
search_bar
});