From 9af0b307a14253a21d11d340a78dd9061abee359 Mon Sep 17 00:00:00 2001 From: Vsevolod Tolstopyatov Date: Mon, 27 Mar 2023 03:01:34 -0700 Subject: Mark utilities.* API as Dokka-internal (#2937) * Deprecate unused declaration, remove inline declaration (as it's binary compatible), opt-in into internal API at project level * Opt-in into DokkaInternalApi where applicable * Get rid of intermediate test-utils module --- .../src/main/kotlin/org/jetbrains/dokka/it/gitSubmoduleUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration-tests/src/main') diff --git a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/gitSubmoduleUtils.kt b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/gitSubmoduleUtils.kt index 312ff21f..9c549ae2 100644 --- a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/gitSubmoduleUtils.kt +++ b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/gitSubmoduleUtils.kt @@ -34,7 +34,7 @@ fun AbstractIntegrationTest.applyGitDiffFromFile(diffFile: File) { private fun removeGitFile(repository: Path) = repository.toFile() .listFiles().orEmpty() - .filter { it.name.toLowerCase() == ".git" } + .filter { it.name.lowercase() == ".git" } .forEach { it.delete() } -- cgit