Auto merge of #13042 - tompscanlan:13033-windows-test, r=weihanglo

try running on windows

### What does this PR try to resolve?
Try getting rustfix tests to run on windows and fix #13033

### How should we test and review this PR?

CI should catch failure. Look out for flaky tests in the long run.

### Additional information

tested briefly on win11.
This commit is contained in:
bors 2023-11-24 00:19:22 +00:00
commit 527b35e571

View File

@ -1,5 +1,4 @@
#![allow(clippy::disallowed_methods, clippy::print_stdout, clippy::print_stderr)]
#![cfg(not(windows))] // TODO: should fix these tests on Windows
use anyhow::{anyhow, ensure, Context, Error};
use rustfix::apply_suggestions;