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::{
|
use crate::test::{
|
||||||
assert_text_with_selections, build_editor, select_ranges, EditorLspTestContext,
|
assert_text_with_selections, build_editor, select_ranges, EditorLspTestContext,
|
||||||
EditorTestContext,
|
EditorTestContext,
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::*;
|
|
||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use gpui::{
|
use gpui::{
|
||||||
geometry::rect::RectF,
|
geometry::rect::RectF,
|
||||||
|
@ -3927,7 +3926,6 @@ async fn test_completion(cx: &mut gpui::TestAppContext) {
|
||||||
three sˇ
|
three sˇ
|
||||||
additional edit
|
additional edit
|
||||||
"});
|
"});
|
||||||
//
|
|
||||||
handle_completion_request(
|
handle_completion_request(
|
||||||
&mut cx,
|
&mut cx,
|
||||||
indoc! {"
|
indoc! {"
|
||||||
|
@ -4580,7 +4578,7 @@ async fn test_extra_newline_insertion(cx: &mut gpui::TestAppContext) {
|
||||||
);
|
);
|
||||||
|
|
||||||
let text = concat!(
|
let text = concat!(
|
||||||
"{ }\n", // Suppress rustfmt
|
"{ }\n", //
|
||||||
" x\n", //
|
" x\n", //
|
||||||
" /* */\n", //
|
" /* */\n", //
|
||||||
"x\n", //
|
"x\n", //
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue