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); |