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

Unified Diff: test/regression/0300/0380.unit

Issue 1255643002: New, simpler and faster line splitter. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Optimize nesting. Reformat. Created 5 years, 5 months 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
« no previous file with comments | « test/regression/0300/0360.stmt ('k') | test/regression/other/analysis_server.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/0300/0380.unit
diff --git a/test/regression/0300/0380.unit b/test/regression/0300/0380.unit
new file mode 100644
index 0000000000000000000000000000000000000000..d75109042160108cccdcf77c0702e0c082e7b4ef
--- /dev/null
+++ b/test/regression/0300/0380.unit
@@ -0,0 +1,23 @@
+>>>
+test() {
+ var fooService,
+ ids,
+ objectName,
+ results;
+
+ var futures = ids
+ .map((id) => fooService
+ .getItem(objectName, id)
+ .then((item) => results.add(item.name.value)))
+ .toList();
+}
+<<<
+test() {
+ var fooService, ids, objectName, results;
+
+ var futures = ids
+ .map((id) => fooService
+ .getItem(objectName, id)
+ .then((item) => results.add(item.name.value)))
+ .toList();
+}
« no previous file with comments | « test/regression/0300/0360.stmt ('k') | test/regression/other/analysis_server.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698