Skip to content

Assertion message is displayed only until the "expected" keyword #16

Description

@Thomy200

TestNG Version

7.5.0

Expected behavior

The entire message should be displayed.
e.g. Text is not expected. It should be this

Actual behavior

The message is displayed only until "expected".
e.g. Text is not

Is the issue reproducible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

Please, share the test case (as small as possible) which shows the issue

@Test
public void well(){
    Assert.assertTrue(false, "Text is not expected. It should be this");
}

As far as I've seen, it's the same for all assertion messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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