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) <noreply@anthropic.com>
This commit is contained in:
2026-06-10 17:41:20 +02:00
co-authored by Claude Opus 4.8
parent 62f9975b06
commit 6baa6ffdb1
@@ -26,7 +26,9 @@ void main() {
testWidgets('a bare repo path in prose is tappable and opens with no line', (tester) async { testWidgets('a bare repo path in prose is tappable and opens with no line', (tester) async {
String? path; String? path;
int? line = -1; int? line = -1;
await tester.pumpWidget(harness(f, md('see lib/app.dart for the entry point', onOpen: (p, l) { await tester.pumpWidget(harness(
f,
md('see lib/app.dart for the entry point', onOpen: (p, l) {
path = p; path = p;
line = l; line = l;
}))); })));
@@ -41,7 +43,9 @@ void main() {
testWidgets('a path:line ref opens at the line', (tester) async { testWidgets('a path:line ref opens at the line', (tester) async {
String? path; String? path;
int? line; int? line;
await tester.pumpWidget(harness(f, md('crash at lib/app.dart:42 today', onOpen: (p, l) { await tester.pumpWidget(harness(
f,
md('crash at lib/app.dart:42 today', onOpen: (p, l) {
path = p; path = p;
line = l; line = l;
}))); })));
@@ -66,7 +70,9 @@ void main() {
testWidgets('a backticked path is clickable', (tester) async { testWidgets('a backticked path is clickable', (tester) async {
String? path; String? path;
int? line; int? line;
await tester.pumpWidget(harness(f, md('open `lib/app.dart:7`', onOpen: (p, l) { await tester.pumpWidget(harness(
f,
md('open `lib/app.dart:7`', onOpen: (p, l) {
path = p; path = p;
line = l; line = l;
}))); })));