Skip to content

Inline Expected Warnings in Tests #196

Closed

Description

@rcosta358

Besides expected errors, we could also check if a warning is reported in a specific line.

Activity

  1. cheestree commented on Apr 10, 2026

    @cheestree
    Contributor

    Is the idea similar to expected errors, in the way that we'd be annotating that a warning should be present at a given line? In any case, would it fail if the warning isn't annotated or succeed?

  2. rcosta358 commented on Apr 10, 2026

    @rcosta358
    CollaboratorAuthor

    Yep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsRelated to tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions