Convert more ty snapshots to the new format (#22424)

This commit is contained in:
Alex Waygood
2026-01-06 20:01:41 +00:00
committed by GitHub
parent 00f86c39e0
commit bc191f59b9
3 changed files with 8 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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,