Skip to content

isCloseTo() shows wrong delta in mismatch description #8

@pniederw

Description

@pniederw

For example, the description for assertThat(2.2, closeTo(3.3, 0.5) ends in "<2.2> differed by <0.6>", but should end in "<2.2> differed by <1.1>". That is, unless I'm misinterpreting the intended meaning of the message.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions