mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-09 22:25:09 +00:00
chore(deps): update rust crate insta to v1.38.0 (#10701)
This commit is contained in:
parent
20d69ea504
commit
4047d456b6
3 changed files with 7 additions and 19 deletions
|
@ -132,9 +132,7 @@ mod tests {
|
|||
($value: ident) => {{
|
||||
// The debug representation for the backslash are two backslashes (escaping)
|
||||
let $value = std::format!("{:#?}", $value).replace("\\\\", "/");
|
||||
// `insta::assert_snapshot` uses the debug representation of the string, which would
|
||||
// be a single line containing `\n`
|
||||
insta::assert_display_snapshot!($value);
|
||||
insta::assert_snapshot!($value);
|
||||
}};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue