Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1553)

Unified Diff: packages/dart_style/test/regression/0400/0407.unit

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+ }
« no previous file with comments | « packages/dart_style/test/regression/0400/0404.stmt ('k') | packages/dart_style/test/regression/0400/0410.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698