Skip to content

Commit

Permalink
Add API so that KtLint API consumer is able to process a Kotlin scrip…
Browse files Browse the repository at this point in the history
…t snippet without having to specify a file path

Closes pinterest#1738
  • Loading branch information
paul-dingemans committed Dec 24, 2022
1 parent c4e7307 commit 554c3ef
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -12,6 +12,11 @@ import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.io.TempDir

/**
* The KtLintRuleEngine is use by the Ktlint CLI and external API Consumers. Although most functionalities of the RuleEngine are already
* tested via the Ktlint CLI Tests and normal unit tests in KtLint Core, some functionalities need additional testing from the perspective
* of an API Consumer to ensure that the API is usable and stable across releases.
*/
class KtLintRuleEngineTest {
@Nested
inner class `Lint with KtLintRuleEngine` {
Expand Down

0 comments on commit 554c3ef

Please sign in to comment.