Add # to canonical test example

This commit is contained in:
Aleksey Kladov 2020-12-15 11:49:22 +03:00
parent 134c7563be
commit 51f42db1d5

View file

@ -96,19 +96,19 @@ When using multiline fixtures, use unindented raw string literals:
fn inline_field_shorthand() { fn inline_field_shorthand() {
check_assist( check_assist(
inline_local_variable, inline_local_variable,
r" r#"
struct S { foo: i32} struct S { foo: i32}
fn main() { fn main() {
let <|>foo = 92; let <|>foo = 92;
S { foo } S { foo }
} }
", "#,
r" r#"
struct S { foo: i32} struct S { foo: i32}
fn main() { fn main() {
S { foo: 92 } S { foo: 92 }
} }
", "#,
); );
} }
``` ```