Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation rendering issues #2264

Merged
merged 4 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pkgs/checks/lib/src/checks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -908,17 +908,17 @@ final class CheckFailure {
final class FailureDetail {
/// A description of all the conditions the subject was expected to satisfy.
///
/// Each subject has a label. At the root the label is typically "a <Type>"
/// and nested subjects get a label based on the condition which extracted a
/// property for further checks. Each level of nesting is described as
/// "<label> that:" followed by an indented list of the expectations for that
/// property.
/// Each subject has a label. At the root the label is typically "a
/// &lt;Type&gt;" and nested subjects get a label based on the condition
/// which extracted a property for further checks. Each level of nesting is
/// described as "&lt;label&gt; that:" followed by an indented list of the
/// expectations for that property.
///
/// For example:
///
/// a List that:
/// has length that:
/// equals <3>
/// equals &lt;3&gt;
final Iterable<String> expected;

/// A description of the conditions the checked value satisfied.
Expand Down Expand Up @@ -956,7 +956,7 @@ final class FailureDetail {
///
/// a List that:
/// has length that:
/// equals <3>
/// equals &lt;3&gt;
///
/// If the actual value had an incorrect length, the [depth] will be `1` to
/// indicate that the failure occurred checking one of the expectations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final _platformCallbacks = <Runtime, FutureOr<PlatformPlugin> Function()>{};
/// This globally registers a plugin for all [Loader]s. When the runner first
/// requests that a suite be loaded for one of the given runtimes, this will
/// call [plugin] to load the platform plugin. It may return either a
/// [PlatformPlugin] or a [Future<PlatformPlugin>]. That plugin is then
/// [PlatformPlugin] or a `Future<PlatformPlugin>`. That plugin is then
/// preserved and used to load all suites for all matching runtimes.
///
/// This overwrites the default plugins for those runtimes.
Expand Down