Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

mocks should call t.Helper() #239

@poy

Description

@poy

The mocks are being flagged as a failing line during a test failure. This is due to the fact that Controller.Call(). invokes t.Helper(), but the mock does not. This means that instead of the offending line being called out, the mock is.

This could be solved by having the mock also call t.Helper().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions