Skip to content

Add node field to @ShouldThrow #55

Description

@CodingSoot

The latest source_gen version (1.4.0) added a node argument to InvalidGenerationSourceError to allow finding the source location from an AstNode over an Element.

Currently, the @ShouldThrow annotation doesn't have such field, so we can't test if a node was passed to InvalidGenerationSourceError.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions