mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
Convert more ty snapshots to the new format (#22424)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
source: crates/ty_test/src/lib.rs
|
||||
expression: snapshot
|
||||
---
|
||||
|
||||
---
|
||||
mdtest name: tuples.md - Comparison: Tuples - Homogeneous - Tuples with Prefixes and Suffixes
|
||||
mdtest path: crates/ty_python_semantic/resources/mdtest/comparison/tuples.md
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
source: crates/ty_test/src/lib.rs
|
||||
expression: snapshot
|
||||
---
|
||||
|
||||
---
|
||||
mdtest name: tuples.md - Comparison: Tuples - Homogeneous - Unsupported Comparisons
|
||||
mdtest path: crates/ty_python_semantic/resources/mdtest/comparison/tuples.md
|
||||
|
||||
@@ -2822,7 +2822,7 @@ mod tests {
|
||||
],
|
||||
Some(Type::none(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
x=...,
|
||||
y: str = ...
|
||||
@@ -2840,7 +2840,7 @@ mod tests {
|
||||
],
|
||||
Some(Type::none(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
x,
|
||||
y,
|
||||
@@ -2859,7 +2859,7 @@ mod tests {
|
||||
],
|
||||
Some(Type::none(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
x,
|
||||
/,
|
||||
@@ -2878,7 +2878,7 @@ mod tests {
|
||||
],
|
||||
Some(Type::none(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
*,
|
||||
x,
|
||||
@@ -2897,7 +2897,7 @@ mod tests {
|
||||
],
|
||||
Some(Type::none(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
x,
|
||||
*,
|
||||
@@ -2936,7 +2936,7 @@ mod tests {
|
||||
],
|
||||
Some(KnownClass::Bytes.to_instance(&db))
|
||||
),
|
||||
@"
|
||||
@r"
|
||||
(
|
||||
a,
|
||||
b: int,
|
||||
|
||||
Reference in New Issue
Block a user