Skip to content

Commit 1db6fa0

Browse files
committed
Add idem test for paren
1 parent 0baeca5 commit 1db6fa0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/idem/paren.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Test parenthesis
2+
3+
fn foo() {
4+
let very_long_variable_name = (a + first + simple + test);
5+
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
6+
);
7+
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
8+
+ 78);
9+
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
10+
+ 78 + fill + another + line + AAAA + BBBBBBB + CCCCCCCCCCCCCCCCC
11+
);
12+
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
13+
+ 78 + fill + another + line + AAAA + BBBBBBB + CCCCCCCCCCCCCCC +
14+
DDDDDDD + EEEEEE);
15+
16+
}

0 commit comments

Comments
 (0)