[ty] cargo insta test --force-update-snapshots (#22313)

Snapshot tests recently started reporting this warning:

> Snapshot test passes but the existing value is in a legacy format.
> Please run cargo insta test --force-update-snapshots to update to a
> newer format.

This PR is the result of that forced update.

One file (crates/ruff_db/src/diagnostic/render/full.rs) seems to get
corrupted, because it contains strings with unprintable characters that
trigger some bug in cargo-insta. I've manually reverted that file, and
also manually reverted the `input_file:` lines, which we like.
This commit is contained in:
Jack O'Connor
2026-01-05 07:55:47 -08:00
committed by GitHub
parent 6b3de1517a
commit 4712503c6d
897 changed files with 1663 additions and 1926 deletions

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,