Skip to content

Commit

Permalink
Escape dots in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Apr 21, 2023
1 parent f17b73d commit 7f4e67c
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -57,16 +57,16 @@ class ConfigurationTest(override val versions: BuildVersions) : AbstractGradleIn
result.output.contains("> Task :dokkaHtml FAILED")
result.output.contains(
"""
FAILURE: Build failed with an exception.
FAILURE: Build failed with an exception\\.
\* What went wrong:
Execution failed for task ':dokkaHtml'.
Execution failed for task ':dokkaHtml'\\.
> Failed with warningCount=\d and errorCount=\d
""".trimIndent().toRegex()
)

result.output.contains(
"Caused by: org.jetbrains.dokka.DokkaException: Failed with warningCount=\\d and errorCount=\\d".toRegex()
"Caused by: org\\.jetbrains\\.dokka\\.DokkaException: Failed with warningCount=\\d and errorCount=\\d".toRegex()
)
}
}
}

0 comments on commit 7f4e67c

Please sign in to comment.