red_knot_ide: update snapshots

This just adds an extra blank line. I think these tests were written
against the new renderer before it was used by Red Knot's `main`
function. Once I did that, I saw that it was missing a blank line, and
so I added it to match the status quo. But that means these snapshots
have become stale. So this commit updates them.
This commit is contained in:
Andrew Gallant 2025-04-02 10:00:19 -04:00 committed by Andrew Gallant
parent 185bcfef1a
commit 28c7e724e3
1 changed files with 6 additions and 4 deletions

View File

@ -338,7 +338,7 @@ mod tests {
"#, "#,
); );
assert_snapshot!(test.goto_type_definition(), @r###" assert_snapshot!(test.goto_type_definition(), @r"
info: lint:goto-type-definition: Type definition info: lint:goto-type-definition: Type definition
--> /main.py:3:17 --> /main.py:3:17
| |
@ -355,6 +355,7 @@ mod tests {
12 | a 12 | a
| ^ | ^
| |
info: lint:goto-type-definition: Type definition info: lint:goto-type-definition: Type definition
--> /main.py:5:17 --> /main.py:5:17
| |
@ -373,7 +374,7 @@ mod tests {
12 | a 12 | a
| ^ | ^
| |
"###); ");
} }
#[test] #[test]
@ -752,7 +753,7 @@ f(**kwargs<CURSOR>)
"#, "#,
); );
assert_snapshot!(test.goto_type_definition(), @r###" assert_snapshot!(test.goto_type_definition(), @r"
info: lint:goto-type-definition: Type definition info: lint:goto-type-definition: Type definition
--> stdlib/builtins.pyi:443:7 --> stdlib/builtins.pyi:443:7
| |
@ -770,6 +771,7 @@ f(**kwargs<CURSOR>)
3 | a 3 | a
| ^ | ^
| |
info: lint:goto-type-definition: Type definition info: lint:goto-type-definition: Type definition
--> stdlib/types.pyi:677:11 --> stdlib/types.pyi:677:11
| |
@ -786,7 +788,7 @@ f(**kwargs<CURSOR>)
3 | a 3 | a
| ^ | ^
| |
"###); ");
} }
fn goto_test(source: &str) -> GotoTest { fn goto_test(source: &str) -> GotoTest {