Skip to content

Commit

Permalink
Fix positional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jterapin committed Jun 30, 2023
1 parent 1615cfa commit c693b1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ private void renderRequestMiddlewareBody(Optional<String> body, Optional<String>
case "application/xml":
if (body.get().length() > 0) {
writer
.write("expect($T.parse(request.body.read)).to "
+ "match_xml_node($T.parse('$L'))",
.write("expect($1T.parse(request.body.read)).to "
+ "match_xml_node($1T.parse('$2L'))",
Hearth.XML, body.get())
.addUseImports(RubyDependency.HEARTH_XML_MATCHER);
} else {
Expand Down

0 comments on commit c693b1f

Please sign in to comment.