Add idem test for paren

This commit is contained in:
Gaëtan Cassiers 2015-05-24 22:07:18 +02:00
parent 0baeca5829
commit 1db6fa0fe5

16
tests/idem/paren.rs Normal file
View File

@ -0,0 +1,16 @@
// Test parenthesis
fn foo() {
let very_long_variable_name = (a + first + simple + test);
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
);
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
+ 78);
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
+ 78 + fill + another + line + AAAA + BBBBBBB + CCCCCCCCCCCCCCCCC
);
let very_long_variable_name = (write + something + here + to + fill + the + line + 12 + 34 + 567
+ 78 + fill + another + line + AAAA + BBBBBBB + CCCCCCCCCCCCCCC +
DDDDDDD + EEEEEE);
}