Skip to content

Deduplicate doc tests logic #86254

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

This comes from a discussion in #86230: for the moment, we call libtest from two places: markdown.rs (which is used when we provide a markdown file as input) and doctest.rs (when a rust file is provided as input, the default).

Both calls can be found when grepping with testing::test_main(.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doctestsArea: Documentation tests, run by rustdocC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions