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

Unified Diff: packages/dart_style/test/regression/0400/0448.stmt

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
Index: packages/dart_style/test/regression/0400/0448.stmt
diff --git a/packages/dart_style/test/regression/0400/0448.stmt b/packages/dart_style/test/regression/0400/0448.stmt
new file mode 100644
index 0000000000000000000000000000000000000000..09e026242727df0de434ceda95f8650181d29c0b
--- /dev/null
+++ b/packages/dart_style/test/regression/0400/0448.stmt
@@ -0,0 +1,34 @@
+>>> (indent 6)
+ if (t == 0.0)
+ value = begin;
+ else if (t == 1.0)
+ value = end;
+ else
+ value = lerp(t);
+<<<
+ if (t == 0.0)
+ value = begin;
+ else if (t == 1.0)
+ value = end;
+ else
+ value = lerp(t);
+>>> (indent 4)
+ if (direction == AnimationDirection.forward ||
+ reverseCurve == null) return curve;
+<<<
+ if (direction == AnimationDirection.forward || reverseCurve == null)
+ return curve;
+>>> (indent 6)
+ if (outputSize.width / outputSize.height > sourceSize.width / sourceSize.height)
+ destinationSize = new Size(sourceSize.width * outputSize.height / sourceSize.height, outputSize.height);
+ else
+ destinationSize = new Size(outputSize.width, sourceSize.height * outputSize.width / sourceSize.width);
+<<<
+ if (outputSize.width / outputSize.height >
+ sourceSize.width / sourceSize.height)
+ destinationSize = new Size(
+ sourceSize.width * outputSize.height / sourceSize.height,
+ outputSize.height);
+ else
+ destinationSize = new Size(outputSize.width,
+ sourceSize.height * outputSize.width / sourceSize.width);
« no previous file with comments | « packages/dart_style/test/regression/0400/0444.unit ('k') | packages/dart_style/test/regression/0400/0449.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698