From 6baa6ffdb1469c502371af4dd0812fe809f924ce Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Wed, 10 Jun 2026 17:41:20 +0200 Subject: [PATCH] format the T-300 file-ref test dart format was missed on this file in the T-300 commit; the pre-push gate's --set-exit-if-changed caught it. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/clide_markdown_file_ref_test.dart | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/test/widgets/src/clide_markdown_file_ref_test.dart b/test/widgets/src/clide_markdown_file_ref_test.dart index 24a13cdc..cad585fd 100644 --- a/test/widgets/src/clide_markdown_file_ref_test.dart +++ b/test/widgets/src/clide_markdown_file_ref_test.dart @@ -26,10 +26,12 @@ void main() { testWidgets('a bare repo path in prose is tappable and opens with no line', (tester) async { String? path; int? line = -1; - await tester.pumpWidget(harness(f, md('see lib/app.dart for the entry point', onOpen: (p, l) { - path = p; - line = l; - }))); + await tester.pumpWidget(harness( + f, + md('see lib/app.dart for the entry point', onOpen: (p, l) { + path = p; + line = l; + }))); await tester.pump(); await tester.tap(find.text('lib/app.dart')); @@ -41,10 +43,12 @@ void main() { testWidgets('a path:line ref opens at the line', (tester) async { String? path; int? line; - await tester.pumpWidget(harness(f, md('crash at lib/app.dart:42 today', onOpen: (p, l) { - path = p; - line = l; - }))); + await tester.pumpWidget(harness( + f, + md('crash at lib/app.dart:42 today', onOpen: (p, l) { + path = p; + line = l; + }))); await tester.pump(); await tester.tap(find.text('lib/app.dart:42')); @@ -66,10 +70,12 @@ void main() { testWidgets('a backticked path is clickable', (tester) async { String? path; int? line; - await tester.pumpWidget(harness(f, md('open `lib/app.dart:7`', onOpen: (p, l) { - path = p; - line = l; - }))); + await tester.pumpWidget(harness( + f, + md('open `lib/app.dart:7`', onOpen: (p, l) { + path = p; + line = l; + }))); await tester.pump(); await tester.tap(find.text('lib/app.dart:7'));