Skip to content

Commit

Permalink
Fix the indentation
Browse files Browse the repository at this point in the history
### What's done:

 * Indentation fixed with diktat:fix@diktat
  • Loading branch information
unix-junkie committed May 26, 2022
1 parent cb82b14 commit 0ee5846
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class DiktatMavenPluginIntegrationTest {
*/
private inline fun String.assertContains(other: CharSequence,
crossinline lazyMessage: () -> String = {
"The string: \"$this\" doesn't contain the substring: \"$other\""
}) {
"The string: \"$this\" doesn't contain the substring: \"$other\""
}) {
Assertions.assertTrue(contains(other)) {
lazyMessage()
}
Expand All @@ -100,8 +100,8 @@ class DiktatMavenPluginIntegrationTest {
*/
private inline fun String.assertContains(regex: Regex,
crossinline lazyMessage: () -> String = {
"The string: \"$this\" doesn't contain any substring matching the regex: \"$regex\""
}) {
"The string: \"$this\" doesn't contain any substring matching the regex: \"$regex\""
}) {
Assertions.assertTrue(contains(regex)) {
lazyMessage()
}
Expand Down

0 comments on commit 0ee5846

Please sign in to comment.