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

Unified Diff: packages/dart_style/test/splitting/members.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
« no previous file with comments | « packages/dart_style/test/splitting/loops.stmt ('k') | packages/dart_style/test/splitting/mixed.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/splitting/members.unit
diff --git a/packages/dart_style/test/splitting/members.unit b/packages/dart_style/test/splitting/members.unit
index 26ca1292867e78b947543815efc457d96fd19a3a..cb59d750c158d4ba2e4627fe5bc66964eaf02ad6 100644
--- a/packages/dart_style/test/splitting/members.unit
+++ b/packages/dart_style/test/splitting/members.unit
@@ -7,4 +7,22 @@ class Foo {
class Foo {
Stream methodName(AssetId id) =>
methodBodyHereItIs;
+}
+>>> can split on getter
+class Foo {
+ VeryLongTypeAnnotation get veryLongGetter => null;
+}
+<<<
+class Foo {
+ VeryLongTypeAnnotation
+ get veryLongGetter => null;
+}
+>>> can split on setter
+class Foo {
+ VeryLongTypeAnnotation set veryLongSetter(v) {}
+}
+<<<
+class Foo {
+ VeryLongTypeAnnotation
+ set veryLongSetter(v) {}
}
« no previous file with comments | « packages/dart_style/test/splitting/loops.stmt ('k') | packages/dart_style/test/splitting/mixed.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698