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

Unified Diff: test/regression/176.unit

Issue 944923003: Add regression test. Fix #176. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/176.unit
diff --git a/test/regression/176.unit b/test/regression/176.unit
new file mode 100644
index 0000000000000000000000000000000000000000..4cd8c8dfeda6508124aa3ba7c1fad176ac558ca5
--- /dev/null
+++ b/test/regression/176.unit
@@ -0,0 +1,16 @@
+>>>
+Iterable<Task> generate() sync* {
+ int i = 0;
+
+ while (i++ < 100) {
+ yield new Task(i, rnd.nextInt(100), calc);
+ }
+}
+<<<
+Iterable<Task> generate() sync* {
+ int i = 0;
+
+ while (i++ < 100) {
+ yield new Task(i, rnd.nextInt(100), calc);
+ }
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698