Skip to content

assert.InDeltaSlice doesn't check all expected values present #1263

Description

@philippslang

For example

assert.InDeltaSlice(t, []float64{1, 2}, []float64{1}, 0.001)

passes because all elements of actual have a successful match in expected, but the opposite is not tested. Is this intentional?

Related: #1059.

Metadata

Metadata

Assignees

No one assigned

    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