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

Unified Diff: pkg/analyzer/test/services/data/stmt_tests.data

Issue 151243003: Fixes for empty class and method bodies. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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: pkg/analyzer/test/services/data/stmt_tests.data
===================================================================
--- pkg/analyzer/test/services/data/stmt_tests.data (revision 32377)
+++ pkg/analyzer/test/services/data/stmt_tests.data (working copy)
@@ -121,3 +121,15 @@
throw new FormatException(
"This is a long exception message that puts this over 80 columns.");
}
+>>> Empty method bodies may be on a single line (or more)
+void main() { }
+<<<
+void main() {}
+>>>
+void main() {
+
+}
+<<<
+void main() {
+
+}
« no previous file with comments | « pkg/analyzer/test/services/data/cu_tests.data ('k') | pkg/analyzer/test/services/data/style_guide_tests.data » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698