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

Unified Diff: test/regression/0400/0434.unit

Issue 1504553002: Better handling for binary operators in => bodies. (Closed) Base URL: https://github.com/dart-lang/dart_style.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 | « test/regression/0100/0130.unit ('k') | test/splitting/mixed.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/0400/0434.unit
diff --git a/test/regression/0400/0434.unit b/test/regression/0400/0434.unit
new file mode 100644
index 0000000000000000000000000000000000000000..408941256ba25295f670441601cc11309afb885e
--- /dev/null
+++ b/test/regression/0400/0434.unit
@@ -0,0 +1,20 @@
+>>> (indent 2)
+ @eventHandler
+ bool computeChangePasswordDisabled(
+ String email, String password, String newPassword) =>
+ email == null ||
+ email.isEmpty ||
+ password == null ||
+ password.isEmpty ||
+ newPassword == null ||
+ newPassword.isEmpty;
+<<<
+ @eventHandler
+ bool computeChangePasswordDisabled(
+ String email, String password, String newPassword) =>
+ email == null ||
+ email.isEmpty ||
+ password == null ||
+ password.isEmpty ||
+ newPassword == null ||
+ newPassword.isEmpty;
« no previous file with comments | « test/regression/0100/0130.unit ('k') | test/splitting/mixed.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698