| Index: packages/dart_style/test/regression/0400/0407.unit
|
| diff --git a/packages/dart_style/test/regression/0400/0407.unit b/packages/dart_style/test/regression/0400/0407.unit
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca50851f617ceddae28c4d10339098101d1d1438
|
| --- /dev/null
|
| +++ b/packages/dart_style/test/regression/0400/0407.unit
|
| @@ -0,0 +1,33 @@
|
| +>>>
|
| +void main() {
|
| + model..account = (new Account()
|
| + ..accountId = new Int64(111)
|
| + ..tags = (new Account_Tags()..accountHotlist.add(new Hotlist()..hotlistId = new Int64(10))));
|
| +}
|
| +<<<
|
| +void main() {
|
| + model
|
| + ..account = (new Account()
|
| + ..accountId = new Int64(111)
|
| + ..tags = (new Account_Tags()
|
| + ..accountHotlist.add(new Hotlist()..hotlistId = new Int64(10))));
|
| +}
|
| +>>> (indent 4)
|
| +main() {
|
| +receiver
|
| + ..formattedTotal = _total == 0
|
| + ? ""
|
| + : _chartType == "PieChart"
|
| + ? _formatter.formatAsPercent(item.value / _total, fractionDigits: 1)
|
| + : _formatter.formatValue(item.value, item.valueType);
|
| +}
|
| +<<<
|
| + main() {
|
| + receiver
|
| + ..formattedTotal = _total == 0
|
| + ? ""
|
| + : _chartType == "PieChart"
|
| + ? _formatter.formatAsPercent(item.value / _total,
|
| + fractionDigits: 1)
|
| + : _formatter.formatValue(item.value, item.valueType);
|
| + }
|
|
|