Skip to content

isValidAgainst doesn't override custom message #225

@Wolf05632

Description

@Wolf05632

isValidAgainst method in assertj3.XmlAssert module doesn't override custom error message:

XmlAssert
.assertThat(xmlSource)
.withFailMessage("Alarm alarm!")
.isValidAgainst(xsdSource);

expected:

java.lang.AssertionError: Alarm alarm!
Expecting: ...

fact:

java.lang.AssertionError:
Expecting: ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions