Skip to content

Commit

Permalink
javadoc: expectedXml parameter is XML not JSON
Browse files Browse the repository at this point in the history
Fix javadoc for expectedXml parameter. The xml(..) assert expects XML content not JSON.
  • Loading branch information
AlexejTimonin authored Jun 6, 2024
1 parent d39fe9a commit 3fa0c04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ default BodyContentSpec json(String expectedJson) {
* <p>Use of this method requires the
* <a href="https://github.com/xmlunit/xmlunit">XMLUnit</a> library on
* the classpath.
* @param expectedXml the expected JSON content.
* @param expectedXml the expected XML content.
* @since 5.1
* @see org.springframework.test.util.XmlExpectationsHelper#assertXmlEqual(String, String)
*/
Expand Down

0 comments on commit 3fa0c04

Please sign in to comment.