Skip to content

Commit

Permalink
Fix Windows linebreaks
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Apr 17, 2024
1 parent e99a778 commit 2bbc1d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/it/java-11/class-comments/validate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def expectMethodArgument2 = Html.dd(Html.code('needle') + " - it stings")
assertStringContains(javadocContent, expectMethodArgument1)
assertStringContains(javadocContent, expectMethodArgument2)

def expectMethodReturn = Html.dt(Html.span("Returns:", "returnLabel")) + "\n" + Html.dd('true if lucky')
def expectMethodReturn = Html.dt(Html.span("Returns:", "returnLabel")) + System.lineSeparator() + Html.dd('true if lucky')

assertStringContains(javadocContent, expectMethodReturn)

Expand Down
2 changes: 1 addition & 1 deletion src/it/java-17/class-comments/validate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def expectMethodArgument2 = Html.dd(Html.code('needle') + " - it stings")
assertStringContains(javadocContent, expectMethodArgument1)
assertStringContains(javadocContent, expectMethodArgument2)

def expectMethodReturn = Html.dt("Returns:") + "\n" + Html.dd('true if lucky')
def expectMethodReturn = Html.dt("Returns:") + System.lineSeparator() + Html.dd('true if lucky')

assertStringContains(javadocContent, expectMethodReturn)

Expand Down

0 comments on commit 2bbc1d3

Please sign in to comment.