Skip to content

update XdocsExamplesAstConsistencyTest to skip modules with no properties #18999

@romani

Description

@romani

from https://github.com/octylFractal/checkstyle/blob/dbd12036cec258a8842e332bfee294f8ade6408d/src/test/java/com/puppycrawl/tools/checkstyle/internal/XdocsExamplesAstConsistencyTest.java#L318-L319

it is by design that modules without properties should have very different by AST examples.
as threre is no reason to show change in beahvior if config is changing, as config ca not be changed

upadte XdocsExamplesAstConsistencyTest to skip modules with no properties, they shoudl not be flagged for violation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions