Fix compile error in server integration tests

This commit is contained in:
Antonio Scandurra 2021-12-15 08:48:50 +01:00
parent 6c5b27af1d
commit 7bcce23dc9

View file

@ -932,6 +932,7 @@ mod tests {
use std::{
ops::Deref,
path::Path,
rc::Rc,
sync::{
atomic::{AtomicBool, Ordering::SeqCst},
Arc,
@ -1046,7 +1047,7 @@ mod tests {
.unwrap();
let editor_b = cx_b.add_view(window_b, |cx| {
Editor::for_buffer(buffer_b, |cx| EditorSettings::test(cx), cx)
Editor::for_buffer(buffer_b, Rc::new(|cx| EditorSettings::test(cx)), cx)
});
// TODO
// // Create a selection set as client B and see that selection set as client A.