Skip to content

Commit 21a4e70

Browse files
committed
Exclude tuple index test from rustfmt
1 parent bf0aa7d commit 21a4e70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_ensure.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ fn test_trailer() {
360360
let test = || Ok(ensure!((2, 3).1 == 2));
361361
assert_err(test, "Condition failed: `(2, 3).1 == 2` (3 vs 2)");
362362

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

0 commit comments

Comments
 (0)