6887: Add `#` to canonical test example r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-12-15 08:49:54 +00:00 committed by GitHub
commit 95f3dcd909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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