| 40 columns | |
| ### Sets use most of the same formatting code as lists, so we don't test |
| ### all of the edge cases here, just the basics. |
| >>> Const. |
| const { first , second } ; |
| <<< |
| const {first, second}; |
| >>> Split. |
| ({first, second, third, fourth, fifth, sixth}); |
| <<< |
| ({ |
| first, |
| second, |
| third, |
| fourth, |
| fifth, |
| sixth, |
| }); |
| >>> With type argument. |
| < int > { 1 , 2 }; |
| <<< |
| <int>{1, 2}; |
| >>> Split in type argument. |
| var set = <Inner<First, Second, Third, Fourth, Fifth, Sixth>>{}; |
| <<< |
| var set = |
| < |
| Inner< |
| First, |
| Second, |
| Third, |
| Fourth, |
| Fifth, |
| Sixth |
| > |
| >{}; |
| >>> Force split because of contained block. |
| var s = {first, 1, fn, () {"fn";},third,fourth}; |
| <<< |
| var s = { |
| first, |
| 1, |
| fn, |
| () { |
| "fn"; |
| }, |
| third, |
| fourth, |
| }; |