flutter/dev/bots/test
Greg Spencer f5a9835351
Check sample links for malformed links (#137807)
## Description

This checks API doc strings for malformed links to examples. It prevents errors in capitalization, spacing, number of asterisks, etc.  It won't catch all errors, because it needs to have a minimally indicative string to know that it even is trying to be a link to an example.  At a minimum, the line needs to look like (literally, not as a regexp) `///*seecode.*` in order to be seen as a link to an example.

Separately, I'm going to add a check to the snippets tool that checks to make sure that an `{@tool}` block includes either a link to a sample file or a dart code block.

## Tests
 - Added a test to make sure it catches some malformed links.
2023-11-06 18:46:18 +00:00
..
analyze-snippet-code-test-dart-ui Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
analyze-snippet-code-test-input Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
analyze-test-input Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
analyze_snippet_code_test.dart Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
analyze_test.dart Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
check_code_samples_test.dart Check sample links for malformed links (#137807) 2023-11-06 18:46:18 +00:00
common.dart Align more closely with package:test (#77118) (#78343) 2021-03-16 13:58:02 -07:00
post_process_docs_test.dart Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
prepare_package_test.dart Run gsutil with full python3 and full path. (#132805) 2023-08-17 23:09:44 +00:00
sdk_directory_has_space_test.dart Skip test audit for dev tests. (#87147) 2021-08-03 11:17:41 -07:00
test_test.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
tool_subsharding_test.dart Parser machine logs (#118707) 2023-02-02 20:04:06 +00:00