Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_completion/src/tests/pattern.rs')
-rw-r--r--crates/ide_completion/src/tests/pattern.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/crates/ide_completion/src/tests/pattern.rs b/crates/ide_completion/src/tests/pattern.rs
index fe53257672..0ca20f93b5 100644
--- a/crates/ide_completion/src/tests/pattern.rs
+++ b/crates/ide_completion/src/tests/pattern.rs
@@ -102,7 +102,7 @@ fn foo() {
if let a$0
}
"#,
- expect![[r##"
+ expect![[r#"
kw ref
kw mut
en Enum
@@ -112,11 +112,11 @@ fn foo() {
st Tuple
md module
st Unit
- ma makro!(…) #[macro_export] macro_rules! makro
+ ma makro!(…) macro_rules! makro
bn TupleV TupleV($1)$0
ev TupleV
ct CONST
- "##]],
+ "#]],
);
}
@@ -132,7 +132,7 @@ fn foo() {
let a$0
}
"#,
- expect![[r##"
+ expect![[r#"
kw ref
kw mut
bn Record Record { field$1 }$0
@@ -142,8 +142,8 @@ fn foo() {
ev Variant
en SingleVariantEnum
st Unit
- ma makro!(…) #[macro_export] macro_rules! makro
- "##]],
+ ma makro!(…) macro_rules! makro
+ "#]],
);
}
@@ -154,7 +154,7 @@ fn in_param() {
fn foo(a$0) {
}
"#,
- expect![[r##"
+ expect![[r#"
kw ref
kw mut
bn Record Record { field$1 }: Record$0
@@ -162,15 +162,15 @@ fn foo(a$0) {
bn Tuple Tuple($1): Tuple$0
st Tuple
st Unit
- ma makro!(…) #[macro_export] macro_rules! makro
- "##]],
+ ma makro!(…) macro_rules! makro
+ "#]],
);
check(
r#"
fn foo(a$0: Tuple) {
}
"#,
- expect![[r##"
+ expect![[r#"
kw ref
kw mut
bn Record Record { field$1 }$0
@@ -178,8 +178,8 @@ fn foo(a$0: Tuple) {
bn Tuple Tuple($1)$0
st Tuple
st Unit
- ma makro!(…) #[macro_export] macro_rules! makro
- "##]],
+ ma makro!(…) macro_rules! makro
+ "#]],
);
}