Skip to content

assert: EventuallyWithT must catch panics in condition such as CollectT.FailNow #1457

Closed
@dolmen

Description

@dolmen

In EventuallyWithT the condition function may call CollectT.FailNow which panics.

The implementation of EventuallyWithT should catch this panic (as well as any other panic in the condition).

Metadata

Metadata

Assignees

No one assigned

    Labels

    assert.EventuallyAbout assert.Eventually/EventuallyWithTbugpkg-assertChange related to package testify/assert

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions