Skip to content

Commit 045cba3

Browse files
authored
[ty] Use dedent in cursor tests (#20019)
1 parent a5cbca1 commit 045cba3

File tree

7 files changed

+596
-595
lines changed

7 files changed

+596
-595
lines changed

crates/ty_ide/src/document_symbols.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def standalone_function():
198198
12 | typed_class_var: str = 'class_typed'
199199
13 | annotated_class_var: float
200200
| ^^^^^^^^^^^^^^^^^^^
201-
14 |
201+
14 |
202202
15 | def __init__(self):
203203
|
204204
info: Field annotated_class_var
@@ -207,7 +207,7 @@ def standalone_function():
207207
--> main.py:15:9
208208
|
209209
13 | annotated_class_var: float
210-
14 |
210+
14 |
211211
15 | def __init__(self):
212212
| ^^^^^^^^
213213
16 | self.instance_var = 0
@@ -218,7 +218,7 @@ def standalone_function():
218218
--> main.py:18:9
219219
|
220220
16 | self.instance_var = 0
221-
17 |
221+
17 |
222222
18 | def public_method(self):
223223
| ^^^^^^^^^^^^^
224224
19 | return self.instance_var
@@ -229,7 +229,7 @@ def standalone_function():
229229
--> main.py:21:9
230230
|
231231
19 | return self.instance_var
232-
20 |
232+
20 |
233233
21 | def _private_method(self):
234234
| ^^^^^^^^^^^^^^^
235235
22 | pass
@@ -282,7 +282,7 @@ class OuterClass:
282282
2 | class OuterClass:
283283
3 | OUTER_CONSTANT = 100
284284
| ^^^^^^^^^^^^^^
285-
4 |
285+
4 |
286286
5 | def outer_method(self):
287287
|
288288
info: Constant OUTER_CONSTANT
@@ -291,7 +291,7 @@ class OuterClass:
291291
--> main.py:5:9
292292
|
293293
3 | OUTER_CONSTANT = 100
294-
4 |
294+
4 |
295295
5 | def outer_method(self):
296296
| ^^^^^^^^^^^^
297297
6 | return self.OUTER_CONSTANT
@@ -302,7 +302,7 @@ class OuterClass:
302302
--> main.py:8:11
303303
|
304304
6 | return self.OUTER_CONSTANT
305-
7 |
305+
7 |
306306
8 | class InnerClass:
307307
| ^^^^^^^^^^
308308
9 | def inner_method(self):

0 commit comments

Comments
 (0)