Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
FikriMilano committed Sep 13, 2024
1 parent b56de30 commit 1d85407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class HtmlPopulator(
Pattern.compile("@contains\\('([^']+)','([^']+)'\\)((?s).*?)@contains\\('\\1'\\)")
private val isQuestionnaireSubmittedPattern =
Pattern.compile(
"@is-questionnaire-submitted\\('([^']+)'\\)((?s).*?)@is-questionnaire-submitted\\('\\1'\\)"
"@is-questionnaire-submitted\\('([^']+)'\\)((?s).*?)@is-questionnaire-submitted\\('\\1'\\)",
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class HtmlPopulatorTest {
val populatedHtml = htmlPopulator.populateHtml(html)
Assert.assertEquals(
"@is-not-empty('1234/link-a')<p>Text</p>@is-not-empty('1234/link-b')",
populatedHtml
populatedHtml,
)
}

Expand Down

0 comments on commit 1d85407

Please sign in to comment.