Skip to content

Give reporter access to current testing.T #68

@bauersimon

Description

@bauersimon

Proposal to change:

type Reporter interface {
	// Report is called when the approved and received file do not match.
	Report(approved, received string) bool
}

to

type Reporter interface {
	// Report is called when the approved and received file do not match.
	Report(t *testing.T, approved, received string) bool
}

(or introduce a separate interface to not break backward compatibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions