re-flow text_zoom_test.dart per dart format
test / unit + widget + golden + a11y (push) Failing after 28s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped
test / dart doc (lib API) (push) Failing after 1m2s

Pre-push hook split the cascaded `..increase()..increase()` chain
onto separate lines; landing the formatter's choice.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-18 09:05:37 +02:00
co-authored by Claude
parent 044d1b2ff1
commit f113cb5efd
+3 -1
View File
@@ -23,7 +23,9 @@ void main() {
});
test('reset jumps back to 1.0', () {
final z = TextZoom()..increase()..increase();
final z = TextZoom()
..increase()
..increase();
expect(z.scale, isNot(1.0));
z.reset();
expect(z.scale, 1.0);