Fix compile error in server integration tests
This commit is contained in:
@@ -932,6 +932,7 @@ mod tests {
|
|||||||
use std::{
|
use std::{
|
||||||
ops::Deref,
|
ops::Deref,
|
||||||
path::Path,
|
path::Path,
|
||||||
|
rc::Rc,
|
||||||
sync::{
|
sync::{
|
||||||
atomic::{AtomicBool, Ordering::SeqCst},
|
atomic::{AtomicBool, Ordering::SeqCst},
|
||||||
Arc,
|
Arc,
|
||||||
@@ -1046,7 +1047,7 @@ mod tests {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let editor_b = cx_b.add_view(window_b, |cx| {
|
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
|
// TODO
|
||||||
// // Create a selection set as client B and see that selection set as client A.
|
// // Create a selection set as client B and see that selection set as client A.
|
||||||
|
|||||||
Reference in New Issue
Block a user