Skip to content

Commit

Permalink
Debug win
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 31, 2023
1 parent 1d6f34b commit da923e1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,26 +111,26 @@ jobs:
strategy:
matrix:
include:
- name: Linux x86_64 stable
os: ubuntu-latest
rust: stable
other: i686-unknown-linux-gnu
- name: Linux x86_64 beta
os: ubuntu-latest
rust: beta
other: i686-unknown-linux-gnu
- name: Linux x86_64 nightly
os: ubuntu-latest
rust: nightly
other: i686-unknown-linux-gnu
- name: macOS x86_64 stable
os: macos-latest
rust: stable
other: x86_64-apple-ios
- name: macOS x86_64 nightly
os: macos-latest
rust: nightly
other: x86_64-apple-ios
# - name: Linux x86_64 stable
# os: ubuntu-latest
# rust: stable
# other: i686-unknown-linux-gnu
# - name: Linux x86_64 beta
# os: ubuntu-latest
# rust: beta
# other: i686-unknown-linux-gnu
# - name: Linux x86_64 nightly
# os: ubuntu-latest
# rust: nightly
# other: i686-unknown-linux-gnu
# - name: macOS x86_64 stable
# os: macos-latest
# rust: stable
# other: x86_64-apple-ios
# - name: macOS x86_64 nightly
# os: macos-latest
# rust: nightly
# other: x86_64-apple-ios
- name: Windows x86_64 MSVC stable
os: windows-latest
rust: stable-msvc
Expand Down
4 changes: 3 additions & 1 deletion crates/rustfix/tests/parse_and_replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ fn test_rustfix_with_file<P: AsRef<Path>>(file: P, mode: &str) -> Result<(), Err
.context(format!("could read fixed file for {}", file.display()))?;
ensure!(
fixed.trim() == expected_fixed.trim(),
"file {} doesn't look fixed:\n{}",
"file {} doesn't look fixed:\nexpected:{:?}\ngot:{:?}\n{}",
file.display(),
expected_fixed.trim(),
fixed.trim(),
diff(fixed.trim(), expected_fixed.trim())
);

Expand Down

0 comments on commit da923e1

Please sign in to comment.