mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Fix multi-line string formatting in editor_test.rs
This commit is contained in:
parent
17ed80f74d
commit
8411d886ac
1 changed files with 649 additions and 651 deletions
|
@ -1,9 +1,8 @@
|
|||
use super::*;
|
||||
use crate::test::{
|
||||
assert_text_with_selections, build_editor, select_ranges, EditorLspTestContext,
|
||||
EditorTestContext,
|
||||
};
|
||||
|
||||
use super::*;
|
||||
use futures::StreamExt;
|
||||
use gpui::{
|
||||
geometry::rect::RectF,
|
||||
|
@ -3927,7 +3926,6 @@ async fn test_completion(cx: &mut gpui::TestAppContext) {
|
|||
three sˇ
|
||||
additional edit
|
||||
"});
|
||||
//
|
||||
handle_completion_request(
|
||||
&mut cx,
|
||||
indoc! {"
|
||||
|
@ -4580,7 +4578,7 @@ async fn test_extra_newline_insertion(cx: &mut gpui::TestAppContext) {
|
|||
);
|
||||
|
||||
let text = concat!(
|
||||
"{ }\n", // Suppress rustfmt
|
||||
"{ }\n", //
|
||||
" x\n", //
|
||||
" /* */\n", //
|
||||
"x\n", //
|
||||
|
|
Loading…
Reference in a new issue