Commit e3df96c
committed
Auto merge of #122779 - estebank:test-svg-non-determinism, r=compiler-errors
When comparing SVG tests against their blessed version, ignore the first line
`anstyle_svg` has some weird non-determinism in the width parameter, which makes tests blessed in one environment to fail in another. This is the *only* non-determinism detected so far, so we modify the diff check to ignore the first line of the SVG. In order for a test to fail/be updated by `--bless`, a different part of the file needs to also have changed. If other sources of non-determinism are found, we should back out of the "`--color=always` means `.svg`" change.
r? `@compiler-errors`1 file changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3982 | 3982 | | |
3983 | 3983 | | |
3984 | 3984 | | |
| 3985 | + | |
| 3986 | + | |
| 3987 | + | |
| 3988 | + | |
3985 | 3989 | | |
3986 | 3990 | | |
3987 | 3991 | | |
3988 | 3992 | | |
3989 | 3993 | | |
3990 | 3994 | | |
3991 | 3995 | | |
3992 | | - | |
3993 | 3996 | | |
3994 | 3997 | | |
3995 | | - | |
| 3998 | + | |
3996 | 3999 | | |
3997 | 4000 | | |
3998 | 4001 | | |
| |||
4039 | 4042 | | |
4040 | 4043 | | |
4041 | 4044 | | |
4042 | | - | |
4043 | | - | |
| 4045 | + | |
| 4046 | + | |
4044 | 4047 | | |
4045 | 4048 | | |
4046 | 4049 | | |
| |||
4652 | 4655 | | |
4653 | 4656 | | |
4654 | 4657 | | |
4655 | | - | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
4656 | 4665 | | |
4657 | 4666 | | |
4658 | 4667 | | |
| |||
0 commit comments