Skip to content

EventuallyWithTf function help is incorrect, misleading callback signature #1833

@nomaed

Description

@nomaed

Documentation shows that the callback function format is func(c *assert.CollectT, "error message %s", "formatted") which is incorrect.

Formatting arguments are only valid for EventuallyWithTf itself, while the callback is just func(c *assert.CollectT).

The issue appears for:

Metadata

Metadata

Assignees

No one assigned

    Labels

    assert.EventuallyAbout assert.Eventually/EventuallyWithT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions