Skip to content

HeaderResultMatchers should not import org.junit.Assert #22932

Closed
@philwebb

Description

@philwebb

It looks like HeaderResultMatchers is accidentally importing org.junit.Assert.assertNotNull rather than our own org.springframework.test.util.AssertionErrors.

I wonder if we can put a checkstyle rule to prevent junit imports in src/main

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions