Skip to content

Commit

Permalink
Exclude tuple index test from rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 24, 2021
1 parent bf0aa7d commit 21a4e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_ensure.rs
Expand Up @@ -360,6 +360,7 @@ fn test_trailer() {
let test = || Ok(ensure!((2, 3).1 == 2));
assert_err(test, "Condition failed: `(2, 3).1 == 2` (3 vs 2)");

#[rustfmt::skip]
let test = || Ok(ensure!((2, (3, 4)). 1.1 == 2));
assert_err(test, "Condition failed: `(2, (3, 4)).1.1 == 2` (4 vs 2)");

Expand Down

0 comments on commit 21a4e70

Please sign in to comment.