Skip to content

Commit 7d79ebd

Browse files
committed
Update snapshots
1 parent 0fad5a7 commit 7d79ebd

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

crates/ty_ide/src/goto_type_definition.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ mod tests {
145145

146146
assert_snapshot!(test.goto_type_definition(), @r"
147147
info[goto-type-definition]: Type definition
148-
--> stdlib/typing.pyi:770:1
148+
--> stdlib/typing.pyi:781:1
149149
|
150-
768 | def __class_getitem__(cls, args: TypeVar | tuple[TypeVar, ...]) -> _Final: ...
151-
769 |
152-
770 | Generic: type[_Generic]
150+
779 | def __class_getitem__(cls, args: TypeVar | tuple[TypeVar, ...]) -> _Final: ...
151+
780 |
152+
781 | Generic: type[_Generic]
153153
| ^^^^^^^
154-
771 |
155-
772 | class _ProtocolMeta(ABCMeta):
154+
782 |
155+
783 | class _ProtocolMeta(ABCMeta):
156156
|
157157
info: Source
158158
--> main.py:4:1

crates/ty_python_semantic/resources/mdtest/snapshots/deprecated.md_-_Tests_for_the_`@depr…_-_Syntax_(142fa2948c3c6cf1).snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ error[missing-argument]: No argument provided for required parameter `arg` of bo
9191
7 | from typing_extensions import deprecated
9292
|
9393
info: Parameter declared here
94-
--> stdlib/typing_extensions.pyi:1000:28
94+
--> stdlib/typing_extensions.pyi:1001:28
9595
|
96-
998 | stacklevel: int
97-
999 | def __init__(self, message: LiteralString, /, *, category: type[Warning] | None = ..., stacklevel: int = 1) -> None: ...
98-
1000 | def __call__(self, arg: _T, /) -> _T: ...
96+
999 | stacklevel: int
97+
1000 | def __init__(self, message: LiteralString, /, *, category: type[Warning] | None = ..., stacklevel: int = 1) -> None: ...
98+
1001 | def __call__(self, arg: _T, /) -> _T: ...
9999
| ^^^^^^^
100-
1001 |
101-
1002 | @final
100+
1002 |
101+
1003 | @final
102102
|
103103
info: rule `missing-argument` is enabled by default
104104

0 commit comments

Comments
 (0)