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

Unified Diff: packages/dart_style/test/comments/functions.unit

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 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
Index: packages/dart_style/test/comments/functions.unit
diff --git a/packages/dart_style/test/comments/functions.unit b/packages/dart_style/test/comments/functions.unit
index b2d0bc91d33ee26ebc20df1376dd48cca204440e..00c235b2dc6e827003e32724a1291b4dc207bebe 100644
--- a/packages/dart_style/test/comments/functions.unit
+++ b/packages/dart_style/test/comments/functions.unit
@@ -126,4 +126,21 @@ main() {
<<<
main() {
// comment
+}
+>>> comment before "]" with trailing comma
+function([parameter,/* c */]) {;}
+<<<
+function([
+ parameter,
+ /* c */
+]) {
+ ;
+}
+>>> comment before ")" with trailing comma
+function([parameter,]/* c */) {;}
+<<<
+function([
+ parameter,
+] /* c */) {
+ ;
}
« no previous file with comments | « packages/dart_style/test/comments/expressions.stmt ('k') | packages/dart_style/test/comments/generic_methods.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698